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