Add log_format configuration variable.
[apps/pfixtools.git] / example / postlicyd.conf
index 61b2c2c..cff01b9 100644 (file)
@@ -346,4 +346,15 @@ recipient_filter = client_whitelist;
 
 port = 10000;
 
+
+# LOG FORMAT
+#
+# Format of the log printed in syslog. The actual format is "${log_format}: ..."
+#
+# This parameter uses the same format as used to reply to postfix (${field_name} to
+# add a field name).
+
+log_format = "request client=${client_name}[${client_address}] from=<${sender}> "
+             "to=<${recipient}> at ${protocol_state}";
+
 # vim:set syntax=conf: