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.
2) 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.)
1) mailnag doesn't include the program name in the logs sent to syslog. For example, I see lines like:
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.2) 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.)