Skip to content

Make INFO the default log level#138

Merged
ctrueden merged 2 commits intomasterfrom
default-log-info
Dec 19, 2014
Merged

Make INFO the default log level#138
ctrueden merged 2 commits intomasterfrom
default-log-info

Conversation

@hinerm
Copy link
Copy Markdown
Member

@hinerm hinerm commented Dec 19, 2014

Quality of life update - changes default log level to INFO, and lowers the priority of the ScriptFinder's warning to debug, to avoid unnecessary warnings.

Closes #137.

The defualt log level was previously set to WARN, meaning INFO-level
logging and above would not be output. This was confusing, as INFO
statements were intended to be used to convey basic, helpful
information.

To that end, the default level has been dropped down to INFO. This also
required updating log.info statements that were outputting DEBUG-style
information to be similarly adjusted to log.debug statements.
Having this as a WARN-level log statement is overly aggressive. No
exceptions were thrown, and skipping a non-existant directory is
expected behavior, thus this statement is downgraded to DEBUG-level.
@hinerm
Copy link
Copy Markdown
Member Author

hinerm commented Dec 19, 2014

@ctrueden are you happy with all these logging priority changes?

ctrueden added a commit that referenced this pull request Dec 19, 2014
Make INFO the default log level
@ctrueden ctrueden merged commit f0a7357 into master Dec 19, 2014
@ctrueden ctrueden deleted the default-log-info branch December 19, 2014 20:00
@ctrueden
Copy link
Copy Markdown
Member

Perfect, thank you. 🏆

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 this pull request may close these issues.

Change default log level to info

2 participants