Skip to content

Commit

Permalink
fix: no logging on django command
Browse files Browse the repository at this point in the history
fixes #274
  • Loading branch information
igobranco committed Mar 11, 2024
1 parent c94db4d commit 9072600
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion nau_financial_manager/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,19 @@ def get_env_setting(env_variable, default=None):

_LOGGING = CONFIG.get(
"LOGGING",
None,
{
"version": 1,
"disable_existing_loggers": False,
"handlers": {
"console": {
"class": "logging.StreamHandler",
},
},
"root": {
"handlers": ["console"],
"level": "INFO",
},
},
)
if _LOGGING:
LOGGING = _LOGGING
Expand Down

0 comments on commit 9072600

Please sign in to comment.