-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor logging for more granularity
This changes the use of the logger used for logging by the bots from the root logger to a module specific logger, which provides more flexibility in terms of configuration. It also changes the command line options of the bots to configure the verbosity of logging. This allows introducing an additional verbosity level which uses debug logging for the bots themselves, but doesn't do the same for third-party libraries used by them. This helps reducing often undesired high-volume debug logs by libraries like Slixmpp, while still generating debug logs for our custom code.
- Loading branch information
Showing
5 changed files
with
144 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.