Opened 5 years ago

Closed 5 years ago

#14397 closed (fixed)

Missing ending quotation in logging documentation

Reported by: hunterford Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The logging documentation contains a missing ending quotation mark in the example code snippet located at: http://docs.djangoproject.com/en/dev/topics/logging/

Line 46 of the configuration example:

            'handlers: ['console', 'mail_admins'],

should be changed to:

            'handlers': ['console', 'mail_admins'],

Keep up the good work!

Change History (2)

comment:1 Changed 5 years ago by hunterford

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

There's also a missing comma on line 30:

            'class': 'django.utils.log.AdminEmailHandler'

should become:

            'class': 'django.utils.log.AdminEmailHandler',

comment:2 Changed 5 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [13988]) Fixed #14397 -- Corrected some typos in the logging configuration example. Thanks to hunterford for the report.

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