Bugfix: Set wrong flag on initializing the logger.