mirror of
https://github.com/System-End/nephthys.git
synced 2026-04-19 23:22:50 +00:00
Fix log level logic being the wrong way around (#103)
This commit is contained in:
parent
68b2eb1e41
commit
bb0fd03907
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class Environment:
|
|||
self.environment = os.environ.get("ENVIRONMENT", "development")
|
||||
self.log_level = os.environ.get(
|
||||
"LOG_LEVEL",
|
||||
logging.INFO if self.environment == "production" else logging.WARNING,
|
||||
logging.WARNING if self.environment == "production" else logging.INFO,
|
||||
)
|
||||
|
||||
self.slack_help_channel = os.environ.get("SLACK_HELP_CHANNEL", "unset")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue