Apache HTTP Server Version 2.5

Apache > HTTP Server > Documentation > Version 2.5 > Modules

# Apache Module mod_syslog

Available Languages: en | fr

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

### See also

- Comments

## 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

Available Languages: en | fr

## Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.