Using cronolog with nginx

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


Hi,

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";

Thanks,
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20070221/185465ca/attachment.html>


More information about the nginx mailing list