From fb5baa7220fdbbc36cb879169f6b58f64dc4a7e5 Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 15 May 2012 03:36:04 +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@12683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/aixvgsetup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT/postscripts/aixvgsetup b/xCAT/postscripts/aixvgsetup index 1c517fed5..45944d1a0 100755 --- a/xCAT/postscripts/aixvgsetup +++ b/xCAT/postscripts/aixvgsetup @@ -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