Skip to content

Commit

Permalink
Add line number and file name to log format
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Sep 13, 2024
1 parent f663612 commit 1d574df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tosfs/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@

# environment variable names
ENV_NAME_TOSFS_LOGGING_LEVEL = "TOSFS_LOGGING_LEVEL"
TOSFS_LOG_FORMAT = "%(asctime)s %(name)s [%(levelname)s] %(funcName)s : %(message)s"
TOSFS_LOG_FORMAT = "%(asctime)s %(name)s [%(levelname)s] %(filename)s:%(lineno)d %(funcName)s : %(message)s"

0 comments on commit 1d574df

Please sign in to comment.