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

Limit log size and/or duration #25

Closed
daveschaefer opened this issue Sep 16, 2013 · 1 comment · Fixed by #62
Closed

Limit log size and/or duration #25

daveschaefer opened this issue Sep 16, 2013 · 1 comment · Fixed by #62
Assignees

Comments

@daveschaefer
Copy link
Collaborator

We don't want notary logs to get out of hand. Let's add a log handler to delete logs older than 30 days or a certain filesize so they don't consume an entire disk.

This is built in to python - http://docs.python.org/2/library/logging.handlers.html#rotatingfilehandler

In the spirit of using default values to make it easy for anyone to quickly run a notary, let's default to 30 days and let people specify a different value if they wish.

@daveschaefer
Copy link
Collaborator Author

In v3.4 there is a --quiet argument if you wish to suppress most log data, but that is a different aim than this ticket.

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

Successfully merging a pull request may close this issue.

1 participant