set log level from config file #798

Closed
imrehg wants to merge 2 commits from loglevel into master

2 Commits

Author SHA1 Message Date
Gergely Imreh
e3f9af381f add default loglevel in case it's not set in config file 2015-06-03 11:32:28 +08:00
Gergely Imreh
2d6d3d68f6 set log level from config file
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.
2015-06-02 23:37:00 +08:00