add logger in config