From 14c5ac7474b392d1019538217e9113e6dd3b1d7d Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 15 May 2012 06:24:34 +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@12690 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/setbootfromnet | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xCAT/postscripts/setbootfromnet b/xCAT/postscripts/setbootfromnet index 470465a47..df5a898e4 100755 --- a/xCAT/postscripts/setbootfromnet +++ b/xCAT/postscripts/setbootfromnet @@ -20,7 +20,7 @@ OS=`uname` if [ -z $MASTER ]; then msg="$0: The environment variable MASTER is null, pls check.\n" echo $msg - logger -t xcat "$msg" + logger -t xcat -p local4.err "$msg" exit 1 fi @@ -38,7 +38,7 @@ else if [ $SRET -ne 0 ]; then msg="$0: The returned value is not correct, server_ip=$SERVER_IP\n" echo $msg - logger -t xcat "$msg" + logger -t xcat -p local4.err "$msg" exit 1 fi fi @@ -58,13 +58,13 @@ if [ ! -z $NODE_NAME ]; then else msg="$0: The environment variable NODE is null, pls check.\n" echo $msg - logger -t xcat "$msg" + logger -t xcat -p local4.err "$msg" exit 1 fi if [[ $RET -ne 0 ]] || [[ $NRET -ne 0 ]]; then msg="$0: The returned value is not correct, client_ip=$client_ip, nic=$nic\n" - logger -t xcat "$msg" + logger -t xcat -p local4.info "$msg" exit 1 fi @@ -77,7 +77,7 @@ if [ ! -z $NIC ]; then else msg="$0: The network interface NIC on the host $CLIENT_IP is not retrieved, pls check.\n" echo $msg - logger -t xcat "$msg" + logger -t xcat -p local4.info "$msg" exit 1 fi