pushpin icon indicating copy to clipboard operation
pushpin copied to clipboard

Can pushin support log file rotation?

Open nghia1986 opened this issue 5 years ago • 2 comments

That should be useful on production env. Or can you support syslog also?

nghia1986 avatar Jun 20 '19 11:06 nghia1986

logrotate should work. Send SIGHUP to rotate.

Alternatively you can use the -m command line argument to pushpin to cause almost everything to output to stdout, which you could then do something with like send to syslog. The Mongrel2 access and error logs will still be files, though.

jkarneges avatar Jun 20 '19 15:06 jkarneges

Shouldn't Pushpin support rotate log automatically? It should be done by config and It can do the rotation basing on size or date though. That's much more better to send SIGHUP manually!

nghia1986 avatar Jun 20 '19 16:06 nghia1986