Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all authored Nov 23, 2023
1 parent c710a7c commit d7e1884
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
stream_handler.setFormatter(formatter)

handlers = [file_handler if settings.ENV != "PRD" else None, stream_handler]
handlers = [h for h in handlers if h is not None]

logging.basicConfig(level=logging.DEBUG, handlers=handlers)

Expand Down

0 comments on commit d7e1884

Please sign in to comment.