My nginx.conf includes following definition of log format (sorry for bad formatting):
log_format log_with_cookie '[$time_local]\t'
'$remote_addr\t'
'$geoip_country_code\t'
'$msec\t'
'$remote_user\t'
'"$request"\t'
'$status\t'
'$body_bytes_sent\t'
'$cookie_uid\t'
'$uid_got\t'
'$uid_set\t'
'$cookie_u\t'
'"$http_accept_language"\t'
'$cookie_c\t'
'"$http_user_agent"\t'
'"$http_referer"\t'
'"$args"\t'
'"$sent_http_set_cookie"';
Because of use of regexp.QuoteMeta in NewParser function, tab characters are not properly recognized during parsing.
Is there some particular reason why it is done this way?