Using cronolog with nginx

Roxis roxis at
Thu Feb 22 01:43:53 MSK 2007

On Wednesday 21 February 2007, Andy Triboletti wrote:
> 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";

access_log doesn't support pipe yet

More information about the nginx mailing list