diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index 5e6cfbbf7..345c8664a 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -40,7 +40,7 @@ if (!-d $logdir) { $::sdate = `/bin/date`; chomp $::sdate; my $logfile = $logdir . "/xcat.log"; -`logger -t xcat $logfile`; +`logger -t xcat -p local4.info $logfile`; # this log should not contain much so it might be ok to let it grow? # at least we'll have the errors preserved @@ -251,7 +251,7 @@ if (-f $scriptname) { my $tzcmd = qq~/usr/bin/chtz $tz >/dev/null 2>&1~; if (&runcmd($tzcmd) != 0) { my $msg = "$::sdate xcataixpost: Could not set timezone.\n"; - `logger -t xcat $msg`; + `logger -t xcat -p local4.warning $msg`; } else { &runcmd("export TZ=$tz"); } @@ -357,7 +357,7 @@ if (-f $scriptname) { } if (&runcmd($pwcmd) != 0) { my $msg = "$::sdate xcataixpost: Could not set root password.\n"; - `logger -t xcat $msg`; + `logger -t xcat -p local4.warning $msg`; } } }