Skip to content

Commit

Permalink
Updating logger config for easy debugging (#35)
Browse files Browse the repository at this point in the history
Signed-off-by: KBOCPDocs <[email protected]>
  • Loading branch information
vishnuchalla authored May 13, 2024
1 parent d3513fe commit 81c7fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/orion_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def set_logging(level, logger):
handler = logging.StreamHandler(sys.stdout)
handler.setLevel(level)
formatter = logging.Formatter(
"%(asctime)s - %(name)s - %(levelname)s - %(message)s"
"%(asctime)s [%(name)s:%(filename)s:%(lineno)d] %(levelname)s: %(message)s"
)
handler.setFormatter(formatter)
logger.addHandler(handler)
Expand Down

0 comments on commit 81c7fb8

Please sign in to comment.