Commit 6a462bfe authored by Clément OUDOT's avatar Clément OUDOT

Fix call to logger (#1898)

parent a7950a26
......@@ -201,15 +201,14 @@ sub _isAlive {
my $total_c = $stats->{'total'}->{'connection_structures'};
my $total_i = $stats->{'total'}->{'total_items'};
"Memcached connection is alive ($total_c connections / $total_i items)",
"Memcached connection is alive ($total_c connections / $total_i items)"
return 1;
$class->( "Memcached connection is not alive", 'error' );
$class->logger->error("Memcached connection is not alive");
return 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment