Opened 19 years ago

Closed 19 years ago

#5001 closed (wontfix)

Log queries to stdout

Reported by: vitja <dummylink@…> Owned by: Adrian Holovaty
Component: Database layer (models, ORM) Version: dev
Severity: Keywords: query log
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

if settings.DEBUG_QUERY is set to True, print sql queries.

Attachments (1)

query-log.diff​ (1.0 KB ) - added by vitja <dummylink@…> 19 years ago.

Download all attachments as: .zip

Change History (2)

by vitja <dummylink@…>, 19 years ago

Attachment: query-log.diff​ added

comment:1 by Simon G. <dev@…>, 19 years ago

Resolution: → wontfix
Status: new → closed
Summary: [patch] query stdout log → Log queries to stdout

This has come up a few times, and has been decided against before. However, there's some ​discussion going on about enhancing the query logging, which you should definitely get involved in.

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