From e8d59222e65a0670c20f7f7abede216bc3357189 Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 15 May 2012 08:17:01 +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@12714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/redirectps | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/redirectps b/xCAT/postscripts/redirectps index 1b1f39fb6..2bbf2f0f1 100755 --- a/xCAT/postscripts/redirectps +++ b/xCAT/postscripts/redirectps @@ -10,7 +10,7 @@ if (!$ENV{'NFSSERVER'}) { - `logger -t xcat "environment variable does not exist, exiting..."`; + `logger -t xcat -p local4.err "environment variable does not exist, exiting..."`; exit; } @@ -80,13 +80,13 @@ sub runcmd $rc = $? >> 8; if ($rc > 0) { - `logger -t xcat "runcmd $cmd failed, error message is:"`; + `logger -t xcat -p local4.err "runcmd $cmd failed, error message is:"`; my $errmsg; foreach my $err (@::outref) { $errmsg .= $err; } - `logger -t xcat "$errmsg"`; + `logger -t xcat -p local4.err "$errmsg"`; exit; } }