]> granicus.if.org Git - apache/blob - docs/manual/mod/mod_syslog.xml
Merge in APR[-util] macros from branches/trunk-buildconf-noapr
[apache] / docs / manual / mod / mod_syslog.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
4 <!-- $LastChangedRevision$ -->
5
6 <!--
7  Licensed to the Apache Software Foundation (ASF) under one or more
8  contributor license agreements.  See the NOTICE file distributed with
9  this work for additional information regarding copyright ownership.
10  The ASF licenses this file to You under the Apache License, Version 2.0
11  (the "License"); you may not use this file except in compliance with
12  the License.  You may obtain a copy of the License at
13
14      http://www.apache.org/licenses/LICENSE-2.0
15
16  Unless required by applicable law or agreed to in writing, software
17  distributed under the License is distributed on an "AS IS" BASIS,
18  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  See the License for the specific language governing permissions and
20  limitations under the License.
21 -->
22
23 <modulesynopsis metafile="mod_syslog.xml.meta">
24
25 <name>mod_syslog</name>
26 <description>Provides "syslog" ErrorLog provider</description>
27 <status>Extension</status>
28 <sourcefile>mod_syslog.c</sourcefile>
29 <identifier>syslog_module</identifier>
30
31 <summary>
32
33     <p>This module provides "syslog" ErrorLog provider. It allows logging
34     error messages via syslogd(8).</p>
35 </summary>
36
37 <section id="examples">
38     <title>Examples</title>
39
40     <p>Using <code>syslog</code> in ErrorLog directive (see <module>core</module>)
41     instead of a filename enables logging via syslogd(8) if the system supports it.
42     The default is to use syslog facility <code>local7</code>,
43     but you can override this by using the <code>syslog:<var>facility</var></code>
44     syntax where <var>facility</var> can be one of the names usually documented in
45     syslog(1).  The facility is effectively global, and if it is changed
46     in individual virtual hosts, the final facility specified affects the
47     entire server.</p>
48
49     <highlight language="config">
50 ErrorLog syslog:user
51     </highlight>
52
53 </section>
54
55
56 </modulesynopsis>