change all logger calls to put xcat msgs into local4

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12211 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
immarvin 2012-04-12 05:40:58 +00:00
parent 63bc1b4476
commit c07ec5a185

View File

@ -82,10 +82,10 @@ my $node = `$nlscmd`;
chomp($node);
print "node: $node\n";
if($node ne ''){
system("logger -t xcat 'removing $node configuration from xCAT'");
system("logger -p local4.info -t xcat 'removing $node configuration from xCAT'");
print FILE "removing $node configuration from xCAT\n";
&rmblade($node);
}else{
system("logger -t xcat 'a blade was removed from $mm:$slot but could not be identified'");
system("logger -p local4.info -t xcat 'a blade was removed from $mm:$slot but could not be identified'");
print FILE "A blade was removed from $mm:$slot but could not be identified\n";
}