coddingtonbear / django-mailbox

Import mail from POP3, IMAP, local email mailboxes or directly from Postfix or Exim4 into your Django application automatically.
MIT License
356 stars 164 forks source link

why is the logging level set to info for root logger? #262

Closed modernNeo closed 1 year ago

modernNeo commented 1 year ago

I am wondering why, in the getmail command, you have set the root logger's config level to INFO instead of setting the config level for getmail to INFO like this logger.setLevel(level=logging.INFO)

https://github.com/coddingtonbear/django-mailbox/blob/40263b66703332d82c179d79f5ea0d80fc1ea388/django_mailbox/management/commands/getmail.py#L7-L10