]> git.proxmox.com Git - pmg-api.git/blobdiff - src/bin/pmgpolicy
reduce the logging level of certain messages
[pmg-api.git] / src / bin / pmgpolicy
index 38c362182a9ef0a8836ef9328c2fff497267ba38..df2e66f4a717cc519ca8410e2a8a5972ba09f607 100755 (executable)
@@ -290,7 +290,7 @@ sub pre_loop_hook {
 
     $prop->{log_level} = 3;
 
-    $self->log(0, "Policy daemon (re)started");
+    $self->log('info', "Policy daemon (re)started");
 
     $SIG{'USR1'} = sub {
        # reloading server configuration
@@ -315,7 +315,7 @@ sub load_config {
     my $prop = $self->{server};
 
     if ($self->{ruledb}) {
-       $self->log(0, "reloading configuration $database");
+       $self->log('info', "reloading configuration $database");
        $self->{ruledb}->close();
     }