Skip to content

Commit

Permalink
ceph-volume: instantiate the new terminal logger in main()
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Deza <[email protected]>
(cherry picked from commit bfb8422)
  • Loading branch information
Alfredo Deza committed Sep 10, 2019
1 parent bdf6a8b commit 26b97ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ceph-volume/ceph_volume/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def main(self, argv):
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
Expand Down

0 comments on commit 26b97ec

Please sign in to comment.