Skip to content

Commit

Permalink
Reintroduce module/file to logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexeh committed Jan 30, 2024
1 parent c0f4031 commit 1ffe61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion joystick_diagrams/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

logging.basicConfig(
level=logging.DEBUG,
format="%(asctime)s - %(levelname)s - %(message)s",
format="%(module)s %(filename)s - %(asctime)s - %(levelname)s - %(message)s",
handlers=[logging.StreamHandler(), logging.FileHandler("application.log", mode="a")],
)
_logger = logging.getLogger(__name__)
Expand Down

0 comments on commit 1ffe61a

Please sign in to comment.