Properly configure logging level.