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@12683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
immarvin 2012-05-15 03:36:04 +00:00
parent 59ac01b4fb
commit fb5baa7220

View File

@ -21,7 +21,7 @@ cmd="/usr/sbin/extendvg -f rootvg hdisk1"
result=`$cmd 2>/dev/null`
rc=$?
if [ $rc -ne 0 ]; then
logger -t xCAT "Could not run $cmd, error = $rc"
logger -t xCAT -p local4.err "Could not run $cmd, error = $rc"
echo "Could not run $cmd, error = $rc"
exit 1
fi
@ -31,7 +31,7 @@ cmd="/usr/sbin/mirrorvg -S rootvg hdisk1"
result=`$cmd 2>/dev/null`
rc=$?
if [ $rc -ne 0 ]; then
logger -t xCAT "Could not run $cmd, error = $rc"
logger -t xCAT -p local4.err "Could not run $cmd, error = $rc"
echo "Could not run $cmd, error = $rc"
exit 1
fi
@ -41,7 +41,7 @@ cmd="/usr/sbin/bosboot -ad /dev/hdisk1"
result=`$cmd 2>/dev/null`
rc=$?
if [ $rc -ne 0 ]; then
logger -t xCAT "Could not run $cmd, error = $rc"
logger -t xCAT -p local4.err "Could not run $cmd, error = $rc"
echo "Could not run $cmd, error = $rc"
exit 1
fi
@ -51,7 +51,7 @@ cmd="/usr/bin/bootlist -m normal hdisk0 hdisk1"
result=`$cmd 2>/dev/null`
rc=$?
if [ $rc -ne 0 ]; then
logger -t xCAT "Could not run $cmd, error = $rc"
logger -t xCAT -p local4.err "Could not run $cmd, error = $rc"
echo "Could not run $cmd, error = $rc"
exit 1
fi