From 5ffbf3a3b9bbc8ebc7a0b29bf753febe283f5fa9 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 28 Dec 2018 20:40:33 +0000 Subject: Docs: clarify logging from filter --- doc/doc-docbook/filter.xfpt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/doc-docbook') diff --git a/doc/doc-docbook/filter.xfpt b/doc/doc-docbook/filter.xfpt index 8cac5d5c8..e2eece623 100644 --- a/doc/doc-docbook/filter.xfpt +++ b/doc/doc-docbook/filter.xfpt @@ -1189,7 +1189,9 @@ been obeyed, the &(logwrite)& command can be used to write to it: &`e.g. logwrite "$tod_log $message_id processed"`& .endd It is possible to have more than one &(logfile)& command, to specify writing to -different log files in different circumstances. Writing takes place at the end +different log files in different circumstances. +A previously opened log is closed on a subsequent &(logfile)& command. +Writing takes place at the end of the file, and a newline character is added to the end of each string if there isn't one already there. Newlines can be put in the middle of the string by using the &"\n"& escape sequence. Lines from simultaneous deliveries may get -- cgit v1.2.3