Reduce logging for VAC subprocess to warning - we don't want purging details flooding...
authorGreg Sabino Mullane <greg@endpoint.com>
Fri, 15 Nov 2013 22:45:24 +0000 (17:45 -0500)
committerGreg Sabino Mullane <greg@endpoint.com>
Fri, 15 Nov 2013 22:45:24 +0000 (17:45 -0500)
Bucardo.pm

index dd43a22b519b9285d5c0eb8dc2ad98abbd2cc3cb..3e833081992cb2415f0afab3bcdbce178ff1b8ff 100644 (file)
@@ -6796,6 +6796,8 @@ sub fork_vac {
         ($x->{backend}, $x->{dbh}) = $self->connect_database($dbname);
         $self->glog(qq{Connected to database "$dbname" with backend PID of $x->{backend}}, LOG_NORMAL);
         $self->{pidmap}{$x->{backend}} = "DB $dbname";
+        ## We don't want details about the purging
+        $x->{dbh}->do(q{SET client_min_messages = 'warning'});
     }
 
     ## Track how long since we last came to life for vacuuming