2

This question has been asked two years before, however, the answer seems to be incorrect as of at least django 1.9.

django-admin startproject myproject
cat myproject/settings.py
#no logging related lines, as far as I can tell

In django 1.9 release notes only removal of specific loggers is mentioned.

So, can I see default django logging settings? If so, where?

Community
  • 1
  • 1
julka
  • 1,172
  • 2
  • 13
  • 29

1 Answers1

9

As the documentation for the LOGGING setting says, you can see the default logging configuration in django/utils/log.py. For example, here is the config for Django 3.1.x.

Alasdair
  • 298,606
  • 55
  • 578
  • 516