Apache HTTP Server Version 2.5

Apache > HTTP Server > Documentation > Version 2.5 > Modules

# Apache Module mod_syslog

Description: | Provides "syslog" ErrorLog provider
Status: | Extension
Module Identifier: | syslog_module
Source File: | mod_syslog.c

### Summary

This module provides "syslog" ErrorLog provider. It allows logging error messages via syslogd(8).

### Topics

- Examples

### Directives

This module provides no directives.

### Bugfix checklist

- httpd changelog
- Known issues
- Report a bug

## Examples ¶

Using `syslog` in ErrorLog directive (see `core`) instead of a filename enables logging via syslogd(8) if the system supports it. The default is to use syslog facility `local7`, but you can override this by using the `syslog:facility` syntax where facility can be one of the names usually documented in syslog(1). The facility is effectively global, and if it is changed in individual virtual hosts, the final facility specified affects the entire server.

    ErrorLog syslog:user