From ebd5c56f74d1aed86b2c4b6bd64bc1fce28ed972 Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 15 May 2012 03:40:49 +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@12686 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcatdsklspost | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index 60292e971..613b04174 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -19,7 +19,7 @@ update_VPD() { if [ -f /usr/sbin/vpdupdate ]; then vpdupdate - logger -t xCAT "xcatdsklspost: updating VPD database" + logger -t xCAT -p local4.info "xcatdsklspost: updating VPD database" fi } @@ -139,7 +139,7 @@ if [ "$MODE" = "4" ]; then # for statelite mode else echo "xCAT management server IP can't be determined."; echo "exiting..."; - logger -t xCAT "xcatdsklspost:xCAT management server IP can't be determined.\nexiting..."; + logger -t xCAT -p local4.err "xcatdsklspost:xCAT management server IP can't be determined.\nexiting..."; exit; fi else # for common mode @@ -210,7 +210,7 @@ else # for common mode if [ $downloaded -eq 0 ]; then hn=`hostname` echo "Cannot download the postscripts from the xCAT server for node $hn" - logger -t xCAT "xcatdsklspost:Cannot download the postscripts from the xCAT server for node $hn" + logger -t xCAT -p local4.err "xcatdsklspost:Cannot download the postscripts from the xCAT server for node $hn" exit fi