From: Alfredo Deza Date: Mon, 9 Sep 2019 17:44:36 +0000 (-0400) Subject: ceph-volume: instantiate the new terminal logger in main() X-Git-Tag: v15.1.0~1616^2~4 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=bfb8422e262dcce49c50610a3977bfe1edc2a435;p=ceph-ci.git ceph-volume: instantiate the new terminal logger in main() Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-volume/ceph_volume/main.py b/src/ceph-volume/ceph_volume/main.py index 4685cb41c39..f396daf0025 100644 --- a/src/ceph-volume/ceph_volume/main.py +++ b/src/ceph-volume/ceph_volume/main.py @@ -131,6 +131,7 @@ Ceph Conf: {ceph_path} if os.path.isdir(conf.log_path): conf.log_path = os.path.join(args.log_path, 'ceph-volume.log') log.setup() + log.setup_console() logger = logging.getLogger(__name__) logger.info("Running command: ceph-volume %s %s", " ".join(main_args), " ".join(subcommand_args)) # set all variables from args and load everything needed according to