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

use an actual logger #143

Open
ScottChapman opened this issue Mar 7, 2019 · 0 comments
Open

use an actual logger #143

ScottChapman opened this issue Mar 7, 2019 · 0 comments

Comments

@ScottChapman
Copy link

I realize that the startup script does a basic file rotation when started, but it's not using an actually logging mechanism (maybe even the one built into Python).

I'm not really a python developer so I don't have specific experience with it. But it is documented here:
https://docs.python.org/2/library/logging.html

What is nice about this kind of approach is that it has a file-rotation mechanism built into it that will rotate when it is needed rather than just on startup.

Plus you can externalize the configuration so people can basically customize the logging for their own deployment.

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

No branches or pull requests

2 participants