Skip to content

Commit 8fcc6a3

Browse files
committed
🩹(backend) add logging to cookiecutter settings
When the logging setting has been added, cookiecutter has been forgot.
1 parent 94ac63c commit 8fcc6a3

File tree

1 file changed

+6
-1
lines changed
  • cookiecutter/{{cookiecutter.organization}}-richie-site-factory/template/{{cookiecutter.site}}/src/backend/{{cookiecutter.site}}

1 file changed

+6
-1
lines changed

cookiecutter/{{cookiecutter.organization}}-richie-site-factory/template/{{cookiecutter.site}}/src/backend/{{cookiecutter.site}}/settings.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,12 @@ class Base(StyleguideMixin, DRFMixin, RichieCoursesConfigurationMixin, Configura
545545
"level": "ERROR",
546546
"handlers": ["console"],
547547
"propagate": False,
548-
}
548+
},
549+
"richie": {
550+
"level": values.Value("ERROR", environ_name="RICHIE_LOGGING_LEVEL"),
551+
"handlers": ["console"],
552+
"propagate": False,
553+
},
549554
},
550555
}
551556

0 commit comments

Comments
 (0)