Opened 8 years ago

Last modified 7 years ago

#27931 closed Cleanup/optimization

Minimum console logging level for DEBUG=True is too high — at Initial Version

Reported by: Jesse Owned by:
Component: Documentation Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Django docs state that, when DEBUG = True, all log messages INFO or higher should go to the console. However, it appears that the level is actually WARN or higher:

import logging
logger = logging.getLogger(__name__)

logger.info("info")
logger.warning("warning")
logger.error("error")
logger.critical("critical")

And the output in the console:

warning
error
critical

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top