put loglevel in config