This module provides "journald" ErrorLog provider. It allows logging error messages and CustomLog/TransferLog via systemd-journald(8).
Systemd-journald allows structured logging and therefore it is possible to filter logged messages according to various variables. Currently supported variables are:
LOG
REQUEST_HOSTNAME
REQUEST_USER
REQUEST_USERAGENT_IP
REQUEST_URI
SERVER_HOSTNAME
These variables can be for example used to show only log messages
for particular URI using journalctl
:
For more examples, see systemd-journalctl documentation.
Using journald
in ErrorLog directive (see
Using journald
as an error log provider in CustomLog
directive (see
Currently, systemd-journald is not designed for high-throughput logging and logging access_log to systemd-journald could decrease the performance a lot.