docs:smbdotconf: make formatting of headers uniform.
[bbaumbach/samba-autobuild/.git] / docs-xml / smbdotconf / logging / syslog.xml
1 <samba:parameter name="syslog"
2                  context="G"
3                  type="integer"
4                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
6     <para>
7     This parameter maps how Samba debug messages are logged onto the system syslog logging levels. 
8     Samba debug level zero maps onto syslog <constant>LOG_ERR</constant>, debug level one maps onto 
9     <constant>LOG_WARNING</constant>, debug level two maps onto <constant>LOG_NOTICE</constant>,
10     debug level three maps onto LOG_INFO. All higher levels are mapped to <constant>LOG_DEBUG</constant>.
11     </para>
12
13     <para>
14     This parameter sets the threshold for sending messages to syslog.  Only messages with debug 
15     level less than this value will be sent to syslog. There still will be some
16     logging to log.[sn]mbd even if <emphasis>syslog only</emphasis> is enabled.
17     </para>
18
19     <para>The <smbconfoption name="logging"/> parameter should be used
20       instead. When <smbconfoption name="logging"/> is set, it
21       overrides the <smbconfoption name="syslog"/> parameter.</para>
22 </description>
23 <value type="default">1</value>
24 </samba:parameter>