Task #1375
closedMake logging level configurable
100%
Description
Change logger from environment variable based to solely dependent on the configuration file.
Logging level should correspond to a log_level
attribute of the general
section. log_level
should support case insensitive string level names described in logger.hpp or their equivalent numerical value.
Updated by Junxiao Shi almost 11 years ago
- Description updated (diff)
What about the logs produced before configuration file is processed?
Updated by Anonymous almost 11 years ago
- Status changed from New to In Progress
At the moment, it looks like we only have error level logging statement in main. I think warn and error statements print regardless of the set level, so things would be ok, but not robust.
If we want to allow non-warn/error statements in main, then we could add another logging level (e.g. STARTUP) that also ignores the set level, but doesn't indicate a problem (equivalent to INFO/DEBUG?).
Updated by Anonymous over 10 years ago
- Status changed from In Progress to Code review
Updated by Alex Afanasyev over 10 years ago
And this one I suppose is 100% done and can be closed too?
Updated by Anonymous over 10 years ago
- Status changed from Code review to Closed
- % Done changed from 0 to 100