Logging level bugfix