-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
#455 changed the queries_quota output from print() to logging (see #451). However, since this library is initialized when our Django application is initialized, the same irrelevant output is scattered in multiple places, like management command output, daily maintenance tasks, report emails, etc. Can we please change this to level DEBUG, so it's hidden by default?
Metadata
Metadata
Assignees
Labels
triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Activity
wangela commentedon Jan 26, 2023
Sounds reasonable. Feel free to send a pull request with your desired fix.
stianjensen commentedon Feb 13, 2024
A pull request has been made, can we also get it reviewed and hopefully a fix released soon?
stianjensen commentedon Apr 2, 2024
@wangela Would you able to take a look at the proposed PR with a fix?
sondrelg commentedon Apr 2, 2024
In the meantime, fyi, you can also configure the log level for the package in your django application. Setting the handler log level should fix your issue:
vsemionov commentedon Apr 2, 2024
@sondrelg @wangela That's true, but it would also hide any future messages with an info level, and is not optimal. This issue's pull request is a trivial one-line change and has been open since 2022. I don't understand why it's such a problem to merge it.