Skip to content

Commit

Permalink
Add line and filename to log output
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Silva committed Jul 17, 2019
1 parent c3d5aa4 commit acb314c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_transport/wirepas_gateway/utils/log_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
def setup_log(
module,
level="debug",
log_format="%(asctime)s | [%(levelname)s] %(name)s: %(message)s",
log_format="%(asctime)s | [%(levelname)s] %(name)s@%(filename)s:%(lineno)d:%(message)s",
):
"""
Prepares logging.
Expand Down

0 comments on commit acb314c

Please sign in to comment.