hjp: projects: qpsmtpd: plugins: batv



The 'file_connection' logging plugin for qpsmtpd records qpsmtpd log messages into a file (or a named pipe, if you prefer.)

The file is reopened for each connection. To facilitate automatic logfile switching the filename can contain strftime conversion specifiers, which are expanded immediately before opening the file. This ensures that a single connection is never split across logfiles.

Each log entry contains a unique connection id so that entries for a particular connection can be unambiguously identified.