diff --git a/src/mysqlbackend.cpp b/src/mysqlbackend.cpp index 97549724..a10d89ec 100644 --- a/src/mysqlbackend.cpp +++ b/src/mysqlbackend.cpp @@ -78,6 +78,7 @@ using namespace log4cxx; if (ret == 0) \ exec_ok = true; \ else if (ret == 2013) { \ + LOG4CXX_INFO(logger, "MySQL connection lost. Reconnecting...");\ disconnect(); \ connect(); \ return METHOD; \