You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by mh...@apache.org on 2019/12/03 18:26:58 UTC
[geode-native] 02/02: GEODE-7426: Fixes segfault in log message.
(#545)
This is an automated email from the ASF dual-hosted git repository.
mhanson pushed a commit to branch release/1.11.0
in repository https://gitbox.apache.org/repos/asf/geode-native.git
commit 3199cae2ba15993f567c34c58e630902495cd683
Author: Jacob Barrett <jb...@pivotal.io>
AuthorDate: Fri Nov 8 11:31:47 2019 -0800
GEODE-7426: Fixes segfault in log message. (#545)
(cherry picked from commit 55da853760c200c53568fe2e6549c912ec26cc27)
---
cppcache/src/ThinClientPoolDM.cpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/cppcache/src/ThinClientPoolDM.cpp b/cppcache/src/ThinClientPoolDM.cpp
index c9b9475..67eb9b3 100644
--- a/cppcache/src/ThinClientPoolDM.cpp
+++ b/cppcache/src/ThinClientPoolDM.cpp
@@ -493,9 +493,8 @@ void ThinClientPoolDM::cleanStaleConnections(std::atomic<bool>& isRunning) {
m_connManageTaskId, _nextIdle)) {
LOGERROR("Failed to reschedule connection manager");
} else {
- LOGFINEST(
- "Rescheduled next connection manager run after %z seconds",
- std::chrono::duration_cast<std::chrono::seconds>(_nextIdle).count());
+ LOGFINEST("Rescheduled next connection manager run after %s",
+ to_string(_nextIdle).c_str());
}
LOGDEBUG("Pool size is %d, pool counter is %d", size(), m_poolSize.load());