Mailing List Archive

Filtering spec clarification needed
Filtering spec Section 3.15:

It is possible to have more than one logfile command, to specify
writing to different log files in different circumstances.

But the logwrite command has no explicit file argument, so it is not
clear how to split the logs in this way. Maybe the logwrite goes to the
file mentioned last? But this is not clear. And what happens if the
same file is mentioned in mutiple logfile commands, such as will
happen when I need to switch back & forth between 2 (or more) files?

--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Filtering spec clarification needed [ In reply to ]
On 28/12/2018 18:21, Ian Zimmerman via Exim-users wrote:
> Filtering spec Section 3.15:
>
> It is possible to have more than one logfile command, to specify
> writing to different log files in different circumstances.
>
> But the logwrite command has no explicit file argument, so it is not
> clear how to split the logs in this way. Maybe the logwrite goes to the
> file mentioned last?

Yes. Any previously mentioned file is closed upon a new "logfile"
command, and subsequent "logwrite" actions go to the most recent.
--
Cheers,
Jeremy


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/