Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can pushin support log file rotation? #47671

Open
nghia1986 opened this issue Jun 20, 2019 · 2 comments
Open

Can pushin support log file rotation? #47671

nghia1986 opened this issue Jun 20, 2019 · 2 comments

Comments

@nghia1986
Copy link

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

@jkarneges
Copy link
Member

jkarneges commented Jun 20, 2019

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.

@nghia1986
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants