mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 09:52:58 +02:00
Changed pakfire logging facility to syslog and added to core12
This commit is contained in:
@@ -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\"");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user