replace logger with default log