From 5c74fae8cdda6b7fa051bcf98516418fbb13f8d7 Mon Sep 17 00:00:00 2001 From: immarvin Date: Thu, 12 Apr 2012 05:27:42 +0000 Subject: [PATCH] change all logger calls to put xcat msgs into local4 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Table.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index 7486c8af9..5557ebe7e 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -3852,7 +3852,7 @@ sub writeAllEntries # open the file for write unless (open($fh," > $filename")) { my $msg="Unable to open $filename for write \n."; - `logger -t xcat $msg`; + `logger -p local4.err -t xcat $msg`; return 1; } my $query; @@ -3937,7 +3937,7 @@ sub writeAllAttribsWhere # open the file for write unless (open($fh," > $filename")) { my $msg="Unable to open $filename for write \n."; - `logger -t xcat $msg`; + `logger -p local4.err -t xcat $msg`; return 1; } my $header;