Fix in flash_setup_logging()