CCLOG long cstring

I got a sigabrt at CCLOG
vsprintf(szBuf, pszFormat, ap);

if I try to print a very long string.

is it safe to modify
static const int kMaxLogLen = 16*1024;

It depends how large your szBuf is.