1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-29 16:37:19 +00:00

maillog: Support logging to stdout and stderr

This patch adds support for writing maillog to stdout and stderr, which
can be desirable in certain environments.

Thanks to Denys Vitali <denys@denv.it> who sent an alternative patch for
this functionality.
This commit is contained in:
Alberto Bertogli
2020-05-24 02:08:11 +01:00
parent d83c1dc591
commit d9d56552f3
12 changed files with 107 additions and 5 deletions

View File

@@ -77,6 +77,7 @@ message Config {
// Path where to write the mail log to.
// If "<syslog>", log using the syslog (at MAIL|INFO priority).
// If "<stdout>", log to stdout; if "<stderr>", log to stderr.
// Default: <syslog>
string mail_log_path = 12;