Fix setup of loggers