Changed pakfire logging facility to syslog and added to core12

This commit is contained in:
Christian Schmidt
2008-04-18 15:07:45 +02:00
parent 8480a8d7b7
commit c506cad0de
4 changed files with 11 additions and 8 deletions

View File

@@ -93,8 +93,8 @@ sub message {
sub logger {
my $log = shift;
if ($log) {
system("echo \"`date`: $log\" >> /var/log/pakfire.log");
#system("logger -t pakfire \"$log\"");
#system("echo \"`date`: $log\" >> /var/log/pakfire.log");
system("logger -t pakfire \"$log\"");
}
}