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

Joe Shang joe.shang at
Fri Nov 14 20:58:56 MSK 2008

In Apache I fetch byte logs using:

CustomLog /usr/local/apache/logs/DOMAIN.COM-bytes_log "%{%s}t %I .\n%{%s}t %O ."

Can I achieve the similar effect this does in Apache, in nginx ?

If so, can anyone give me the proper syntax to do so in nginx config?


More information about the nginx mailing list