Tweak log_levels
authorGreg Sabino Mullane <greg@endpoint.com>
Fri, 4 Jun 2010 20:43:57 +0000 (16:43 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Fri, 4 Jun 2010 20:43:57 +0000 (16:43 -0400)
Bucardo.pm

index f249ee2b009a52ab1c3e3b61caf79c24d7483792..8fdc3d09945113b851f4a920d308550bd7f38ca4 100644 (file)
@@ -4704,7 +4704,7 @@ sub start_kid {
                 }
                 $targetdbh->pg_putcopyend();
                 my $otc = $startotc ? (sprintf '(OTC: %ds) ', time-$startotc) : '';
-                $self->glog(qq{${otc}End COPY of $S.$T, rows inserted: $dmlcount{I}{target}{$S}{$T}}, 6);
+                $self->glog(qq{${otc}End COPY of $S.$T, rows inserted: $dmlcount{I}{target}{$S}{$T}}, 5);
                 $dmlcount{allinserts}{target} += $dmlcount{I}{target}{$S}{$T};
 
                 if ($hasindex) {
@@ -4725,7 +4725,7 @@ sub start_kid {
                     $count = $sth->execute();
                     $sth->finish();
                     $count =~ s/0E0/0/o;
-                    $self->glog("Rows removed from bucardo_delta on source for $S.$T: $count", 5);
+                    $self->glog("Rows removed from bucardo_delta on source for $S.$T: $count", 6);
                     ## Swap? Other side(s) as well
                     if ($synctype eq 'swap') {
                         $SQL = "DELETE FROM bucardo.bucardo_delta WHERE txntime <= now() AND tablename = $g->{targetoid}{$targetdb}";
@@ -4733,7 +4733,7 @@ sub start_kid {
                         $count = $sth->execute();
                         $sth->finish();
                         $count =~ s/0E0/0/o;
-                        $self->glog("Rows removed from bucardo_delta on target for $S.$T: $count", 5);
+                        $self->glog("Rows removed from bucardo_delta on target for $S.$T: $count", 6);
                     }
                 }
             } ## end each goat