dovecot-2.0: Added mail process pid to default login_log_format_...

dovecot at dovecot.org dovecot at dovecot.org
Thu May 20 19:28:07 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/b715f1e39f25
changeset: 11358:b715f1e39f25
user:      Timo Sirainen <tss at iki.fi>
date:      Thu May 20 18:28:04 2010 +0200
description:
Added mail process pid to default login_log_format_elements

diffstat:

 doc/example-config/conf.d/10-logging.conf |  2 +-
 src/login-common/login-settings.c         |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 43a5acc09eb8 -r b715f1e39f25 doc/example-config/conf.d/10-logging.conf
--- a/doc/example-config/conf.d/10-logging.conf	Thu May 20 18:12:20 2010 +0200
+++ b/doc/example-config/conf.d/10-logging.conf	Thu May 20 18:28:04 2010 +0200
@@ -65,7 +65,7 @@
 # Space-separated list of elements we want to log. The elements which have
 # a non-empty variable value are joined together to form a comma-separated
 # string.
-#login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
+#login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c
 
 # Login log format. %$ contains login_log_format_elements string, %s contains
 # the data we want to log.
diff -r 43a5acc09eb8 -r b715f1e39f25 src/login-common/login-settings.c
--- a/src/login-common/login-settings.c	Thu May 20 18:12:20 2010 +0200
+++ b/src/login-common/login-settings.c	Thu May 20 18:28:04 2010 +0200
@@ -51,7 +51,7 @@
 static const struct login_settings login_default_settings = {
 	.login_trusted_networks = "",
 	.login_greeting = PACKAGE_NAME" ready.",
-	.login_log_format_elements = "user=<%u> method=%m rip=%r lip=%l %c",
+	.login_log_format_elements = "user=<%u> method=%m rip=%r lip=%l mpid=%e %c",
 	.login_log_format = "%$: %s",
 	.login_access_sockets = "",
 


More information about the dovecot-cvs mailing list