Skip to content

Commit

Permalink
Temporary fix for Squangle internal logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mszabo-wikia committed Feb 10, 2025
1 parent fa5f7b4 commit e399143
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#pragma once

#include <common/logging/logging.h>
//#include <common/logging/logging.h>
#include <folly/container/F14Map.h>
#include <folly/container/F14Set.h>
#include <folly/synchronization/Baton.h>
Expand Down Expand Up @@ -739,7 +739,7 @@ class ConnectionPool
// Check server_status for in_transaction bit
if (mysql_conn->inTransaction()) {
// To avoid complication, we are just going to close the connection
LOG_EVERY_N_ATOMIC(INFO, 1000)
LOG_EVERY_N(INFO, 1000)
<< "Closing connection during a transaction."
<< " Transaction will rollback.";
return;
Expand Down

0 comments on commit e399143

Please sign in to comment.