[Bucardo-general] Invalid log level

Greg Sabino Mullane greg at endpoint.com
Fri Jun 3 20:25:22 UTC 2016


> -bash-4.1$ bucardo start
> Checking for existing processes
> Invalid log_level!
> 
> -bash-4.1$ bucardo show log_level
> log_level = normal

That is odd. Perhaps try applying this patch to see what it thinks the 
level it is that is being rejected?:

diff --git a/Bucardo.pm b/Bucardo.pm
index 1f8870e..a2a6846 100644
--- a/Bucardo.pm
+++ b/Bucardo.pm
@@ -5821,7 +5821,7 @@ sub reload_config_database {
         if ($row->{name} eq 'log_level') {
             my $newvalue = $log_level_number{uc $setting};
             if (! defined $newvalue) {
-                die "Invalid log_level!\n";
+                die "Invalid log_level! ($setting)\n";
             }
             $config{log_level_number} = $newvalue;
         }

-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20160603/4b94a713/attachment.sig>


More information about the Bucardo-general mailing list