Apache HTTP Server Version 2.5

Available Languages: en
| 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).
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
| Description: | Enable logging of CustomLog/TransferLog to systemd-journald |
|---|---|
| Syntax: | JournaldCustomLog on|off |
| Default: | JournaldCustomLog off |
| Context: | server config |
| Status: | Extension |
| Module: | mod_journald |
The JournaldCustomLog directive enables logging
of CustomLog and TransferLog messages to systemd-journald.
Currently, systemd-journald is not designed for high-throughput logging and logging access_log to systemd-journald could decrease the performance a lot.
Available Languages: en