How to log the time in the UTC time format?

naltimari nginx-forum at
Tue Dec 1 01:06:57 MSK 2009

Well, maybe you're right, but what I need is the same time that would come from 'date -u' command.

Right now, my log time format is like this: 30/Nov/2009:16:14:39 -0200

When I need this: Mon Nov 30 18:14:39 UTC 2009

Can I change the syntax/format in which the date is written to the log?

I appreciate your help.

Posted at Nginx Forum:,26862,26870#msg-26870

More information about the nginx mailing list