diff options
author | Christof Schmitt <cs@samba.org> | 2015-01-09 14:21:32 -0700 |
---|---|---|
committer | Christof Schmitt <cs@samba.org> | 2015-03-23 21:22:11 +0100 |
commit | 5a3eddc7b94aac34fa3e482a3b3da5711a8a9ff6 (patch) | |
tree | 2b51f9280cf91bab2cb670ae0eb741b1b7b8c77a /docs-xml | |
parent | 2681c31170360f1fa52bb2d5ac92f36c92b5f616 (diff) | |
download | samba-5a3eddc7b94aac34fa3e482a3b3da5711a8a9ff6.tar.gz |
param: Add new 'logging' parameter
This parameter allows to configure multiple backends at the same time.
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'docs-xml')
-rw-r--r-- | docs-xml/smbdotconf/logging/logging.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/logging/logging.xml b/docs-xml/smbdotconf/logging/logging.xml new file mode 100644 index 00000000000..f888c4623e8 --- /dev/null +++ b/docs-xml/smbdotconf/logging/logging.xml @@ -0,0 +1,37 @@ +<samba:parameter name="logging" + type="string" + context="G" + developer="1" advanced="1" + xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> +<description> + + <para>This parameter configures logging backends 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> + </itemizedlist> + +</description> +<value type="default"></value> +<value type="example">syslog@1 file</value> +</samba:parameter> |