Currently when use_syslog is set we log to both stderr as well as to syslog. Let's just log to syslog and not std err.
Signed-off-by: Robert Love <[email protected]> --- etc/initd/initd.fedora | 2 +- etc/initd/initd.suse | 2 +- fcoeplumb.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/initd/initd.fedora b/etc/initd/initd.fedora index 4151633..629fc76 100755 --- a/etc/initd/initd.fedora +++ b/etc/initd/initd.fedora @@ -86,7 +86,7 @@ if [ $? -ne 0 ]; then fi if [ "$USE_SYSLOG" = "yes" ] || [ "$USE_SYSLOG" = "YES" ]; then - LOGGER="logger -t fcoe -s" + LOGGER="logger -t fcoe" FCOEMON_OPTS+=" --syslog" fi diff --git a/etc/initd/initd.suse b/etc/initd/initd.suse index 6a65299..6840d44 100755 --- a/etc/initd/initd.suse +++ b/etc/initd/initd.suse @@ -112,7 +112,7 @@ if [ $? -ne 0 ]; then fi if [ "$USE_SYSLOG" = "yes" ] || [ "$USE_SYSLOG" = "YES" ]; then - LOGGER="logger -t fcoe -s" + LOGGER="logger -t fcoe" FCOEMON_OPTS+=" --syslog" fi diff --git a/fcoeplumb.in b/fcoeplumb.in index 1d09c1d..63ebe89 100755 --- a/fcoeplumb.in +++ b/fcoeplumb.in @@ -226,7 +226,7 @@ config_logging() { if [ $DEBUG_LOGGING ] ; then if [ $USE_SYSLOG ] ; then - LOGGER="logger -s -t fcoeplumb" + LOGGER="logger -t fcoeplumb" else LOGGER="echo" fi _______________________________________________ devel mailing list [email protected] http://www.open-fcoe.org/mailman/listinfo/devel
