mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-18 08:43:14 +00:00
read LOG_TO_CONSOLE with decouple
This commit is contained in:
@ -59,7 +59,7 @@ CORS_ALLOW_ALL_ORIGINS = True
|
||||
SESSION_COOKIE_HTTPONLY = False
|
||||
|
||||
# Logging settings
|
||||
if os.environ.get("LOG_TO_CONSOLE"):
|
||||
if config("LOG_TO_CONSOLE", cast=bool, default=False):
|
||||
LOGGING = {
|
||||
"version": 1,
|
||||
"disable_existing_loggers": False,
|
||||
|
Reference in New Issue
Block a user