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
This commit is contained in:
parent
ba0a9dd975
commit
5c74fae8cd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user