From e71c83bd7c8b3e1217485ea83a6b8ec306ac55b3 Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 15 May 2012 03:05:32 +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@12674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/syncfiles | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xCAT/postscripts/syncfiles b/xCAT/postscripts/syncfiles index 7a7c0b612..634a4f730 100644 --- a/xCAT/postscripts/syncfiles +++ b/xCAT/postscripts/syncfiles @@ -17,17 +17,17 @@ fi #do nothing id there is no sync file template for the node if [ -n "$NOSYNCFILES" ] && [ $NOSYNCFILES -eq 1 ]; then echo " Did not sync any files." - logger -t xCAT "$0: there is no sync file template for the node" + logger -t xCAT -p local4.err "$0: there is no sync file template for the node" exit 0 fi -logger -t xCAT "Performing syncfiles postscript" +logger -t xCAT -p local4.info "Performing syncfiles postscript" osname=`uname` # run the xdcp on the MN/SN xcatpostdir="/xcatpost" -logger -t xCAT "$0: the OS name = $osname" +logger -t xCAT -p local4.info "$0: the OS name = $osname" quit="no" count=5 while [ $quit = "no" ]; do @@ -53,9 +53,9 @@ done if [ $returncode -eq 0 ] then - logger -t xCAT "$0: Perform Syncing File action successfully" + logger -t xCAT -p local4.info "$0: Perform Syncing File action successfully" else - logger -t xCAT "$0: Perform Syncing File action encountered error" + logger -t xCAT -p local4.err "$0: Perform Syncing File action encountered error" fi exit 0