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

Sideboard should complain at startup if there isn't a valid/complete logging setup #95

Open
thaeli opened this issue Dec 1, 2017 · 1 comment

Comments

@thaeli
Copy link
Contributor

thaeli commented Dec 1, 2017

If there are no log handlers defined, Sideboard will silently just not log anything. This should be a warning at startup if the logging config appears to not result in things being logged. Perhaps even add a printout on startup of what the logging config it's read in is.

I'm not convinced this should be a fatal error, but it should be noted on startup to stdout/stderr at least.

@RobRuana
Copy link
Contributor

RobRuana commented Dec 1, 2017

So, a straight print() statement? Like:

print('WARNING: No log handlers configured')

I am in favor of this. I'd even be in favor of having a console logger defined by default.

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