3 messages in ru.sysoev.nginxRe: Using cronolog with nginx
FromSent OnAttachments
Andy TribolettiFeb 21, 2007 2:37 pm 
RoxisFeb 21, 2007 2:43 pm 
Igor SysoevFeb 22, 2007 9:44 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Using cronolog with nginxActions...
From:Roxis (roxi@public.gmane.org)
Date:Feb 21, 2007 2:43:30 pm
List:ru.sysoev.nginx

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