MAX_LOG_TOKEN
char tokenbuf[MAX_LOG_TOKEN + 10];
if (r.length > MAX_LOG_TOKEN)
"'%.*s...'", MAX_LOG_TOKEN, r.base);