Apache HTTP Server Version 2.5

| Description: | Provides "journald" ErrorLog provider |
|---|---|
| Status: | Extension |
| Module Identifier: | journald_module |
| Source File: | mod_journald.c |
This module provides "journald" ErrorLog provider. It allows logging error messages and CustomLog/TransferLog via systemd-journald(8).
This module provides no directives.
Systemd-journald allows structured logging and therefore it is possible to filter logged messages according to various variables. Currently supported variables are:
LOGREQUEST_HOSTNAMEREQUEST_USERREQUEST_USERAGENT_IPREQUEST_URISERVER_HOSTNAMEThese variables can be for example used to show only log messages
for particular URI using journalctl:
journalctl REQUEST_URI=/index.html -a
For more examples, see systemd-journalctl documentation.
Using journald in ErrorLog directive (see core)
instead of a filename enables logging via systemd-journald(8)
if the system supports it.
ErrorLog journald
Using journald as an error log provider in CustomLog
directive (see mod_log_config) enables
logging via systemd-journald(8) if the system supports it.
CustomLog "journald" "%h %l %u %t \"%r\" %>s %b"
Currently, systemd-journald is not designed for high-throughput logging and logging access_log to systemd-journald could decrease the performance a lot.