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

log rotation #25

Closed
hamann opened this issue Jan 8, 2014 · 2 comments
Closed

log rotation #25

hamann opened this issue Jan 8, 2014 · 2 comments

Comments

@hamann
Copy link
Contributor

hamann commented Jan 8, 2014

Hi,

what's the best way to add eye's log files to e.g. logrotate? Does it support a special signal/command to release its file handle and log to a new file?

@kostya
Copy link
Owner

kostya commented Jan 8, 2014

why not just copy logfile, gzip and cat /dev/null > logfile ?
we seems using logrotate like this.

@hamann
Copy link
Contributor Author

hamann commented Jan 8, 2014

Yes, copytruncate does it, just found it in the documentation. Thanks!

@hamann hamann closed this as completed Jan 8, 2014
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