Skip to content

Commit

Permalink
Update logging.py
Browse files Browse the repository at this point in the history
Remove default encoding parameter
  • Loading branch information
ianhelle authored Mar 29, 2023
1 parent cfef44c commit da49a05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion msticpy/init/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def setup_logging():
params_39 = {"encoding": "utf-8"} if sys.version_info >= (3, 9) else {}
logging.basicConfig(
filename=logging_config.log_file,
encoding="utf-8",
level=logging_config.log_level,
format="%(asctime)s: %(levelname)s - %(message)s (%(module)s#%(lineno)d)",
**params_39,
Expand Down

0 comments on commit da49a05

Please sign in to comment.