Fixed problem with loggers