From 8daa83a594a2e98f39d764422bfbdbc62c9efd44 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 19:20:00 +0200 Subject: Adding upstream version 2:4.20.0+dfsg. Signed-off-by: Daniel Baumann --- docs-xml/smbdotconf/logging/logging.xml | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 docs-xml/smbdotconf/logging/logging.xml (limited to 'docs-xml/smbdotconf/logging/logging.xml') diff --git a/docs-xml/smbdotconf/logging/logging.xml b/docs-xml/smbdotconf/logging/logging.xml new file mode 100644 index 0000000..0ab2c1f --- /dev/null +++ b/docs-xml/smbdotconf/logging/logging.xml @@ -0,0 +1,45 @@ + + + + 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]. + + The 'option' parameter can be used to pass backend-specific + options. + + 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 + determines overall log levels, + while the log levels specified here define what is sent to the + individual backends. + + When is set, it overrides the + and parameters. + + Some backends are only available when Samba has been compiled + with the additional libraries. The overall list of logging backends: + + + syslog + file + systemd + lttng + gpfs + ringbuf + + + The ringbuf backend supports an + optional size argument to change the buffer size used, the default is 1 MB: + ringbuf:size=NBYTES + + + +syslog@1 file + -- cgit v1.2.3