1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/docs-xml/smbdotconf/logging/logging.xml
Michael Adam 4a6a010e78 docs:smbdotconf: remove swat-specific flags.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
2015-05-02 00:56:31 +02:00

40 lines
1.6 KiB
XML

<samba:parameter name="logging"
type="string"
context="G"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>This parameter configures logging backends. Multiple
backends can be specified at the same time, with different log
levels for each backend. The parameter is a list of backends,
where each backend is specified as backend[:option][@loglevel].</para>
<para>The 'option' parameter can be used to pass backend-specific
options.</para>
<para>The log level for a backend is optional, if it is not set for
a backend, all messages are sent to this backend. The parameter
<smbconfoption name="log level"/> determines overall log levels,
while the log levels specified here define what is sent to the
individual backends.</para>
<para>When <smbconfoption name="logging"/> is set, it overrides the
<smbconfoption name="syslog"/> and <smbconfoption name="syslog
only"/> parameters.</para>
<para>Some backends are only available when Samba has been compiled
with the additional libraries. The overall list of logging backends:</para>
<itemizedlist>
<listitem><para><parameter moreinfo="none">syslog</parameter></para></listitem>
<listitem><para><parameter moreinfo="none">file</parameter></para></listitem>
<listitem><para><parameter moreinfo="none">systemd</parameter></para></listitem>
<listitem><para><parameter moreinfo="none">lttng</parameter></para></listitem>
<listitem><para><parameter moreinfo="none">gpfs</parameter></para></listitem>
</itemizedlist>
</description>
<value type="default"></value>
<value type="example">syslog@1 file</value>
</samba:parameter>