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

Logging #1

Open
adamnfish opened this issue Jan 12, 2018 · 0 comments
Open

Logging #1

adamnfish opened this issue Jan 12, 2018 · 0 comments

Comments

@adamnfish
Copy link
Contributor

adamnfish commented Jan 12, 2018

The logger should be off by default, and on (to stdout/err) when --debug is provided. Sadly slf4j (and thus scala-logging) does not support setting the log level at runtime.

TODO: Work out the incantations required to obtain the underlying logback-classic logger and set its log level based on the presence (/absence) of a --debug flag.

Related: Scatter logging all through the application.
Related: The --debug flag could optionally take a level if we want to take full advantage of the logger's power.

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

1 participant