News for hackers. Stuff that matters.
Re:NGINX syslog-ing without breaking the bank or patching th... by otterley on Tuesday November 26, 2013 @04:35PM (#6804408)
There's no reason why you can't run logrotate more than once a day. You can run a separate instance every 15 minutes if you like, with a separate configuration file that only rotates the short-lived logs.
Re:NGINX syslog-ing without breaking the bank or patching th... by jsmeaton on Tuesday November 26, 2013 @06:12PM (#6804965)
Ok that's the (easy) thing I was missing. Instead of using the main logrotate.conf (that includes logrotate.d/*), use a fully separate logrotate.conf. Thanks.