Skip to content

Commit

Permalink
Change logging format
Browse files Browse the repository at this point in the history
Summary: Print time and component.

Reviewed By: wsanville

Differential Revision: D48481600

fbshipit-source-id: 2125801b4aca74ed524163bbaa3bcf9cdee9b81b
  • Loading branch information
agampe authored and facebook-github-bot committed Aug 21, 2023
1 parent b98fe11 commit eb04dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redex.py
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ def _init_logging(level_str: str) -> None:
level = levels[level_str]
logging.basicConfig(
level=level,
format="[%(levelname)-8s] %(message)s",
format="[%(levelname)-8s][%(asctime)-23s][%(name)-25s] %(message)s",
)


Expand Down

0 comments on commit eb04dd6

Please sign in to comment.