3 messages in ru.sysoev.nginxUsing 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:Using cronolog with nginxActions...
From:Andy Triboletti (andy@public.gmane.org)
Date:Feb 21, 2007 2:37:14 pm
List:ru.sysoev.nginx

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