How can I set a custom log file for each postfix instance?
Specifically, I need to identify entries generated for different instances of postfix, and would be better for the tooling if each instance had its own log file in a different folder.
It seems I can specify syslog_name
and syslog_facility
on main.cf. The first one only changes the text prepended to the log entry in mail.log, so the log file is the same, the second seems to allow me to redirect the log to a different file, but appears be limited to only 8 different entries in syslog (local0-7) and a lot of apps already use that and I fear log entries not related to postfix end up appearing there.
Is this the only way or am I missing something?