After #3076, the CLI logging is not working anymore. This is because `configure_logging` is not invoked anymore.