summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/logging/debugsyslogformat.xml
blob: ee1627de534edecadd81056e9e13703c3c6c9b63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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>