Welcome! Log In Create A New Profile

Advanced

Re: Is there any other way to trigger log reopen beside kill -USR1?

Scott Ribe
January 24, 2013 09:56AM
On Jan 24, 2013, at 7:42 AM, Liu Haifeng wrote:

> Sorry I note that I didn't describe it clearly. I am not looking for another way of log rotating, but afraid of any other 'trigger' make nginx reopen log file unexpectedly, which can break my logic. If its sure that no any hidden trigger other than my script, then my design is ok. I think there won't be such kind of trigger, and I have to make it sure.

I think the suggestion about the symlink was to make sure that if/when nginx re-opens the file, it's actually opening the file you want it to--an alternative approach to what you're doing, which does not care when the file is re-opened.

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Is there any other way to trigger log reopen beside kill -USR1?

Liu Haifeng January 24, 2013 07:30AM

Re: Is there any other way to trigger log reopen beside kill -USR1?

Andre Jaenisch January 24, 2013 08:02AM

Re: Is there any other way to trigger log reopen beside kill -USR1?

Liu Haifeng January 24, 2013 09:44AM

Re: Is there any other way to trigger log reopen beside kill -USR1?

Scott Ribe January 24, 2013 09:56AM

Re: Is there any other way to trigger log reopen beside kill -USR1?

Andre Jaenisch January 24, 2013 12:50PM

Re: Is there any other way to trigger log reopen beside kill -USR1?

Liu Haifeng January 25, 2013 05:26AM

Re: Is there any other way to trigger log reopen beside kill -USR1?

Jan-Philip Gehrcke January 24, 2013 09:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 262
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready