]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: instantiate the new terminal logger in main()
authorAlfredo Deza <adeza@redhat.com>
Mon, 9 Sep 2019 17:44:36 +0000 (13:44 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 11 Sep 2019 16:11:51 +0000 (12:11 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit bfb8422e262dcce49c50610a3977bfe1edc2a435)

src/ceph-volume/ceph_volume/main.py

index 4685cb41c395156540244097e0a92d8ad377f11c..f396daf002546048689a08762548c6811e25c131 100644 (file)
@@ -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