Skip to content

Commit b52e57f

Browse files
committed
Remove hardcoded logging levels
1 parent 347168f commit b52e57f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

djangoappengine/boot.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -123,18 +123,6 @@ def setup_logging():
123123
# Fix Python 2.6 logging module.
124124
logging.logMultiprocessing = 0
125125

126-
# Enable logging.
127-
level = logging.DEBUG
128-
from .utils import have_appserver
129-
if have_appserver:
130-
# We can't import settings at this point when running a normal
131-
# manage.py command because this module gets imported from
132-
# settings.py.
133-
from django.conf import settings
134-
if not settings.DEBUG:
135-
level = logging.INFO
136-
logging.getLogger().setLevel(level)
137-
138126

139127
def setup_project():
140128
from .utils import have_appserver, on_production_server

0 commit comments

Comments
 (0)