Closed GoogleCodeExporter closed 9 years ago
I had the same problem and I cleared up the following things...
Comment out "use warnings FATAL => 'all';" in ManagerConst.pm and
MasterFailover.pm
I guess that warning level of Perl changed ???
Original comment by yuka0...@gmail.com
on 29 Jun 2012 at 9:45
Hi!
Would you please test the following patch to ManagerConst.pm then check whether
the error disappears?
our $log_fmt = sub {
my %args = @_;
my $msg = $args{message};
+ $msg = "" unless($msg);
if ( $args{level} eq "error" ) {
....
Original comment by Yoshinor...@gmail.com
on 29 Jun 2012 at 5:42
Original comment by Yoshinor...@gmail.com
on 29 Jun 2012 at 5:42
I changed the following things, and the error disappears.
our $log_fmt = sub {
my %args = @_;
my $msg = $args{message};
+ $msg = "" unless($msg);
+ #chomp $msg;
- chomp $msg;
if ( $args{level} eq "error" ) {
....
Original comment by yuka0...@gmail.com
on 2 Jul 2012 at 6:28
I committed the patch to development tree.
https://github.com/yoshinorim/mha4mysql-manager
Thanks for the bug report!
Original comment by Yoshinor...@gmail.com
on 2 Jul 2012 at 7:01
Original issue reported on code.google.com by
gmt.t...@gmail.com
on 20 Jun 2012 at 10:30