mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-19 01:03:20 +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
|
SESSION_COOKIE_HTTPONLY = False
|
||||||
|
|
||||||
# Logging settings
|
# Logging settings
|
||||||
if os.environ.get("LOG_TO_CONSOLE"):
|
if config("LOG_TO_CONSOLE", cast=bool, default=False):
|
||||||
LOGGING = {
|
LOGGING = {
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"disable_existing_loggers": False,
|
"disable_existing_loggers": False,
|
||||||
|
Reference in New Issue
Block a user