Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop logging level INFO being forced #300

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ptav
Copy link

@ptav ptav commented Oct 3, 2024

No description provided.

@pfouque
Copy link
Collaborator

pfouque commented Oct 8, 2024

Isn't the issue coming from the multiple logger names this app is using?
Have you tried declaring a logger like that in your settings?

LOGGING = {
    "loggers": {
        "django_mailbox": {"level": "WARN"},
    }
}

Or may be we need to replace all logging.getLogger(__name__) by logging.getLogger("django_mailbox") to make it possible to define our own level in django settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants