Skip to content

Commit

Permalink
Added time to logging messages so we can see how long does it take to…
Browse files Browse the repository at this point in the history
… do migration
  • Loading branch information
Miro Madecki committed Aug 27, 2018
1 parent 63fbd91 commit a8c510a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/migrant/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ def get_db_config(cfg, name):


def setup_logging(args, cfg):
logging.basicConfig(level=logging.INFO)
FORMAT = "%(asctime)s %(levelname)s %(module)s - %(message)s"
logging.basicConfig(level=logging.INFO,
format=FORMAT)


def dispatch(args, cfg):
Expand Down

0 comments on commit a8c510a

Please sign in to comment.