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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user