prevento to log when the logger is not started