Using cronolog with nginx

Andy Triboletti andy.triboletti at
Thu Feb 22 01:37:37 MSK 2007


I'd like to rotate my nginx logs using cronolog and wanted to know if anyone
else knows how to do it.  In the nginx config, I'm trying to pipe the
results to cronolog but not having any success.  Is there a way to do this
in nginx?  Here is what I tried:

access_log "| /usr/local/sbin/cronolog /web/logs/%Y/%m/%d/access.log";

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list