summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/logging/debugsyslogformat.xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:20:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:20:00 +0000
commit8daa83a594a2e98f39d764422bfbdbc62c9efd44 (patch)
tree4099e8021376c7d8c05bdf8503093d80e9c7bad0 /docs-xml/smbdotconf/logging/debugsyslogformat.xml
parentInitial commit. (diff)
downloadsamba-8daa83a594a2e98f39d764422bfbdbc62c9efd44.tar.xz
samba-8daa83a594a2e98f39d764422bfbdbc62c9efd44.zip
Adding upstream version 2:4.20.0+dfsg.upstream/2%4.20.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs-xml/smbdotconf/logging/debugsyslogformat.xml')
-rw-r--r--docs-xml/smbdotconf/logging/debugsyslogformat.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/logging/debugsyslogformat.xml b/docs-xml/smbdotconf/logging/debugsyslogformat.xml
new file mode 100644
index 0000000..ee1627d
--- /dev/null
+++ b/docs-xml/smbdotconf/logging/debugsyslogformat.xml
@@ -0,0 +1,33 @@
+<samba:parameter name="debug syslog format"
+ context="G"
+ type="enum"
+ enumlist="enum_debug_syslog_format"
+ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+ <para>
+ With this option enabled (<constant>yes</constant> (alias
+ <constant>in_logs</constant>) or
+ <constant>always</constant>), debug messages are printed in a
+ single-line format like that traditionally produced by syslog.
+ The timestamp consists of an abbreviated month, space-padded date,
+ and time including seconds. This is followed by the hostname and
+ the program name, with the process-ID in square brackets.
+ </para>
+
+ <para>The value <constant>always</constant> produces this log
+ format even to <constant>STDOUT</constant> or
+ <constant>STDERR</constant>
+ </para>
+
+ <para>The value <constant>no</constant> defers to other parameters
+ and typically produces traditional two-line Samba logs to log files.
+ </para>
+
+ <para>
+ If <smbconfoption name="debug hires timestamp"/> is also enabled
+ then an RFC5424 timestamp is used instead.
+ </para>
+
+</description>
+<value type="default">no</value>
+</samba:parameter>