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@12695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
36dd321388
commit
26db80fd6b
@ -87,7 +87,7 @@ if [ "$result" = "0" ]; then
|
||||
result=`$cmd 2>&1`
|
||||
code=$?
|
||||
if [ $code -ne 0 ]; then
|
||||
logger -t xCAT "$cmd\nerror code=$code, result=$result."
|
||||
logger -t xCAT -p local4.err "$cmd\nerror code=$code, result=$result."
|
||||
echo " error code=$code, result=$result."
|
||||
exit 1;
|
||||
fi
|
||||
@ -105,7 +105,7 @@ else
|
||||
result=`$cmd 2>&1`
|
||||
code=$?
|
||||
if [ $code -ne 0 ]; then
|
||||
logger -t xCAT "$cmd\nerror code=$code, result=$result."
|
||||
logger -t xCAT -p local4.err "$cmd\nerror code=$code, result=$result."
|
||||
echo " error code=$code, result=$result."
|
||||
exit 1;
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user