Added a preliminary support for dynamic logging level.