logger.emerg() fixed