From 5cf8fba3fd84f73e388677a5e6d3a0416da3cecd Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sun, 6 Dec 1998 22:14:39 +0000 Subject: [PATCH] smb.conf - Clarified syslog only parameter as Chris suggested. source/script/makeyodldocs.sh: Don't bother copying html to web directory any more. Jeremy. --- docs/htmldocs/smb.conf.5.html | 8 +++++--- docs/manpages/smb.conf.5 | 9 ++++++--- docs/yodldocs/smb.conf.5.yo | 9 ++++++--- source/script/makeyodldocs.sh | 10 ---------- 4 files changed, 17 insertions(+), 19 deletions(-) diff --git a/docs/htmldocs/smb.conf.5.html b/docs/htmldocs/smb.conf.5.html index 73b00093737..dd7640f9841 100644 --- a/docs/htmldocs/smb.conf.5.html +++ b/docs/htmldocs/smb.conf.5.html @@ -4011,9 +4011,11 @@ set to "yes" in order for this parameter to have any affect.


This parameter maps how Samba debug messages are logged onto the system syslog logging levels. Samba debug level zero maps onto syslog LOG_ERR, debug level one maps onto LOG_WARNING, debug level two maps -to LOG_NOTICE, debug level three maps onto LOG_INFO. The parameter -sets the threshold for doing the mapping, all Samba debug messages -above this threshold are mapped to syslog LOG_DEBUG messages. +onto LOG_NOTICE, debug level three maps onto LOG_INFO. All higher +levels are mapped to LOG_DEBUG. +


This paramter sets the threshold for sending messages to syslog. +Only messages with debug level less than this value will be sent +to syslog.


Default: syslog = 1


diff --git a/docs/manpages/smb.conf.5 b/docs/manpages/smb.conf.5 index 748f328b25f..8903eebb307 100644 --- a/docs/manpages/smb.conf.5 +++ b/docs/manpages/smb.conf.5 @@ -5662,9 +5662,12 @@ See also the \fB"strict sync"\fP parameter\&. This parameter maps how Samba debug messages are logged onto the system syslog logging levels\&. Samba debug level zero maps onto syslog LOG_ERR, debug level one maps onto LOG_WARNING, debug level two maps -to LOG_NOTICE, debug level three maps onto LOG_INFO\&. The parameter -sets the threshold for doing the mapping, all Samba debug messages -above this threshold are mapped to syslog LOG_DEBUG messages\&. +onto LOG_NOTICE, debug level three maps onto LOG_INFO\&. All higher +levels are mapped to LOG_DEBUG\&. +.IP +This paramter sets the threshold for sending messages to syslog\&. +Only messages with debug level less than this value will be sent +to syslog\&. .IP \fBDefault:\fP \f(CW syslog = 1\fP diff --git a/docs/yodldocs/smb.conf.5.yo b/docs/yodldocs/smb.conf.5.yo index 4e49da53c7c..360b80595c6 100644 --- a/docs/yodldocs/smb.conf.5.yo +++ b/docs/yodldocs/smb.conf.5.yo @@ -5554,9 +5554,12 @@ dit(bf(syslog (G))) This parameter maps how Samba debug messages are logged onto the system syslog logging levels. Samba debug level zero maps onto syslog LOG_ERR, debug level one maps onto LOG_WARNING, debug level two maps -to LOG_NOTICE, debug level three maps onto LOG_INFO. The parameter -sets the threshold for doing the mapping, all Samba debug messages -above this threshold are mapped to syslog LOG_DEBUG messages. +onto LOG_NOTICE, debug level three maps onto LOG_INFO. All higher +levels are mapped to LOG_DEBUG. + +This paramter sets the threshold for sending messages to syslog. +Only messages with debug level less than this value will be sent +to syslog. bf(Default:) tt( syslog = 1) diff --git a/source/script/makeyodldocs.sh b/source/script/makeyodldocs.sh index c943224fe5b..609dff1526f 100755 --- a/source/script/makeyodldocs.sh +++ b/source/script/makeyodldocs.sh @@ -55,16 +55,6 @@ do exit 1 fi cp $bn.html ../htmldocs || echo "Cannot create $YODLDIR/../htmldocs/$bn.html" -# -# Copy to SWAT directory. -# - if [ $bn = "smb.conf.5" ]; then - rm -f ../../swat/help/smb.conf.5.html || echo "Cannot remove ../../swat/help/smb.conf.5.html" - - cp $bn.html ../../swat/help || echo "Cannot copy smb.conf.5.html to ../../swat/help/smb.conf.5.html" - fi - rm -f $bn.html - ;; *) # # Non man-page YODL docs - just make html and text. -- 2.47.3