Rotating Access Logs with $date_local

Igal @ igal at
Tue Oct 28 15:39:04 UTC 2014

How can I format the $date_local string?  I want it to be date only,
like 20141028, and then use it in the filename for access log.

Is that possible?  and if not, why?  seems like a simple solution to a
problem that many users face and resort to external tools etc.

I'm running Windows if that makes a difference.


Igal Sapir
Railo Core Developer

More information about the nginx mailing list