NGINX error log format documentation
From reading src/core/ngx_log.c I guess the general error log format seems to be
YYYY/MM/DD HH:MM:SS [LEVEL] PID#TID: *CID MESSAGE
With PID
and TID
being the logging process and thread id and CID
a number identifying a (probably proxied) connection, probably a counter. The *CID
part is optional.