how can I fetch byte logs in nginx like "%{%s}t %I .\n%{%s}t %O ."

Gena Makhomed gmm at
Fri Nov 14 21:39:00 MSK 2008

On Friday, November 14, 2008 at 19:58:56, Joe Shang wrote:

JS> In Apache I fetch byte logs using:
JS> CustomLog /usr/local/apache/logs/DOMAIN.COM-bytes_log "%{%s}t %I .\n%{%s}t %O ."
JS> Can I achieve the similar effect this does in Apache, in nginx ?
JS> If so, can anyone give me the proper syntax to do so in nginx config?

Best regards,

More information about the nginx mailing list