From 8b95afa96a24b4c9dfdd60b3ab3829232474c1ae Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Thu, 2 Sep 2021 16:32:40 -0700 Subject: [PATCH] logging --- controller/PostgreSQL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index c2628dee8..8a063e929 100644 --- a/controller/PostgreSQL.cpp +++ b/controller/PostgreSQL.cpp @@ -1388,7 +1388,7 @@ void PostgreSQL::onlineNotification_Postgres() pqxx::result res = w.exec0(memberUpdate.str()); w.commit(); } - // fprintf(stderr, "Updated online status of %d members\n", updateCount); + fprintf(stderr, "%s: Updated online status of %d members\n", _myAddressStr.c_str(), updateCount); } catch (std::exception &e) { fprintf(stderr, "%s: error in onlinenotification thread: %s\n", _myAddressStr.c_str(), e.what()); }