Hi,
How can I tell nginx to create a new log file (access log) every x
minutes?
Hi,
How can I tell nginx to create a new log file (access log) every x
minutes?
On Tue, Dec 4, 2012 at 9:56 PM, S Ahmed [email protected] wrote:
Hi,
How can I tell nginx to create a new log file (access log) every x minutes?
Use your system’s logrotate to do that.
How do I sent a USR1? What is that for, it signals to nginx to start a
new
file?
On 4 December 2012 18:45, S Ahmed [email protected] wrote:
How do I sent a USR1? What is that for, it signals to nginx to start a new
file?
I don’t believe so, no. Check
You’d have to move the log out from under nginx before sending it, I
think.
I’d personally use logrotate with a specially SIGUSR1-related config
stanza if I had to do this, and wouldn’t try and write the logic
myself.
Jonathan M. // Oxford, London, UK
http://www.jpluscplusm.com/contact.html
I didn’t realize this would so tricky, or “tricky”
I was hoping it was just a simple config setting! hehe
On Tue, Dec 4, 2012 at 1:49 PM, Jonathan M.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs