From 33e1a8e2d25dbcea926f2de73dc06ec3992f59f9 Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 15 May 2012 03:04:22 +0000 Subject: [PATCH] fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcatclient | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xCAT/postscripts/xcatclient b/xCAT/postscripts/xcatclient index 171317cb3..fe46fcb42 100755 --- a/xCAT/postscripts/xcatclient +++ b/xCAT/postscripts/xcatclient @@ -10,17 +10,17 @@ # from the postscript table into the servicenode postscript. # if [ ! $1 ]; then - logger -t xcat "xcatclient call without -d, doing nothing." + logger -t xcat -p local4.err "xcatclient call without -d, doing nothing." exit 0 fi if [ $1 != "-d" ]; then - logger -t xcat "xcatclient call without -d, doing nothing." + logger -t xcat -p local4.err "xcatclient call without -d, doing nothing." exit 0 fi -logger -t xcat "xcatclient call with -d. getting credentials and cfgloc " +logger -t xcat -p local4.info "xcatclient call with -d. getting credentials and cfgloc " if [ ! -x /usr/bin/openssl ]; then #Unless we have openssl stup - logger -t xcat "$0: /usr/bin/openssl is not executable" + logger -t xcat -p local4.err "$0: /usr/bin/openssl is not executable" exit 0 fi USEOPENSSLFORXCAT=1 #Declare 2.3 style SSL @@ -44,7 +44,7 @@ export USEOPENSSLFORXCAT done else ERR_MSG=`sed -n 's%.*\(.*\).*%\1%p' /tmp/xcat_client_cred` - logger -t xCAT xcat_client_cred Error: $ERR_MSG + logger -t xCAT -p local4.err xcat_client_cred Error: $ERR_MSG fi rm /tmp/xcat_client_cred