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

logging issues #227

Open
jdchristensen opened this issue Nov 24, 2021 · 0 comments · May be fixed by #228
Open

logging issues #227

jdchristensen opened this issue Nov 24, 2021 · 0 comments · May be fixed by #228

Comments

@jdchristensen
Copy link
Contributor

  1. mailnag doesn't include the program name in the logs sent to syslog. For example, I see lines like:
Nov 21 12:52:39 hostname INFO (2021-11-21 12:52:39): Checking 1 email account(s).

Would it make sense to change LOG_FORMAT to include "mailnag[pid]: " at the front? Also, the date and time are redundant when sent to syslog.

  1. The default log level is DEBUG, which sends unnecessary stuff to the logs. Would WARNING be better? (Or maybe INFO, but then I would prefer that "Checking %s email accounts(s)" be moved to DEBUG level.)
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 a pull request may close this issue.

1 participant