set log level from config file #798

Closed
imrehg wants to merge 2 commits from loglevel into master
imrehg commented 2015-06-02 17:40:58 +02:00 (Migrated from github.com)

Read the log level settings from the "loglevel" value in the
"bitmessagesettings" section of the config file. The possible
values map directly to the ones allowed by the logger module:
DEBUG, INFO, WARNING, ERROR, CRITICAL
Only allow these values, and cast to upper case to be more easy
going in the settings.

Read the log level settings from the "loglevel" value in the "bitmessagesettings" section of the config file. The possible values map directly to the ones allowed by the logger module: DEBUG, INFO, WARNING, ERROR, CRITICAL Only allow these values, and cast to upper case to be more easy going in the settings.
PeterSurda commented 2015-11-10 12:24:46 +01:00 (Migrated from github.com)

I need to take a closer look to how the logging works, but on first glance it looks ok.

I need to take a closer look to how the logging works, but on first glance it looks ok.
PeterSurda commented 2016-03-15 15:01:44 +01:00 (Migrated from github.com)

Logging was rewritten, now you can configure it via a separate config file.

Logging was rewritten, now you can configure it via a separate config file.
This repo is archived. You cannot comment on pull requests.
No description provided.