]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Added mail process pid to default login_log_format_elements
authorTimo Sirainen <tss@iki.fi>
Thu, 20 May 2010 16:28:04 +0000 (18:28 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 20 May 2010 16:28:04 +0000 (18:28 +0200)
--HG--
branch : HEAD

doc/example-config/conf.d/10-logging.conf
src/login-common/login-settings.c

index 06457c9d7a020b8fd9a6de9fcc5e4ecea80c2c30..fb449d7a8ff9c2dfa257a74c28dc23e8b7369b86 100644 (file)
@@ -65,7 +65,7 @@ plugin {
 # 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.
index ea98414930e33ba3125119d3c4a197534520c59c..21d4ff9555e93a9d8fd2628533eb59da3770bdf6 100644 (file)
@@ -51,7 +51,7 @@ static const struct setting_define login_setting_defines[] = {
 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 = "",