diff options
author | Andrew Bartlett <abartlet@samba.org> | 2023-04-06 12:26:11 +1200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2023-04-06 12:51:30 +0000 |
commit | 83fe7a0316d3e5867a56cfdc51ec17f36ea03889 (patch) | |
tree | f0b8270fd8614ef41a2421e01a201e4c20388790 /docs-xml | |
parent | 33effa76d6bdb53ecfc1e77c6706d765e34716be (diff) | |
download | samba-83fe7a0316d3e5867a56cfdc51ec17f36ea03889.tar.gz |
lib/util: Add "debug syslog format = always", which logs to stdout in syslog style
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'docs-xml')
-rw-r--r-- | docs-xml/smbdotconf/logging/debugsyslogformat.xml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/docs-xml/smbdotconf/logging/debugsyslogformat.xml b/docs-xml/smbdotconf/logging/debugsyslogformat.xml index f943f3a5323..ee1627de534 100644 --- a/docs-xml/smbdotconf/logging/debugsyslogformat.xml +++ b/docs-xml/smbdotconf/logging/debugsyslogformat.xml @@ -1,16 +1,28 @@ <samba:parameter name="debug syslog format" context="G" - type="boolean" + type="enum" + enumlist="enum_debug_syslog_format" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> <description> <para> - With this option enabled, debug messages are printed in a + 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. |