You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bb...@apache.org on 2021/08/12 15:47:21 UTC
[geode-native] branch develop updated: GEODE-9487: Use
locale-independent timezone format for logging (#838)
This is an automated email from the ASF dual-hosted git repository.
bbender pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new 6acef04 GEODE-9487: Use locale-independent timezone format for logging (#838)
6acef04 is described below
commit 6acef045b6f8cb818c7fd5e92cca3502d81a3648
Author: Blake Bender <bb...@pivotal.io>
AuthorDate: Thu Aug 12 08:47:13 2021 -0700
GEODE-9487: Use locale-independent timezone format for logging (#838)
---
cppcache/src/Log.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cppcache/src/Log.cpp b/cppcache/src/Log.cpp
index 82ee5a8..971dc32 100644
--- a/cppcache/src/Log.cpp
+++ b/cppcache/src/Log.cpp
@@ -380,7 +380,7 @@ std::string Log::formatLogLine(LogLevel level) {
msg << "[" << Log::levelToChars(level) << " "
<< std::put_time(&tm_val, "%Y/%m/%d %H:%M:%S") << '.' << std::setfill('0')
<< std::setw(6) << microseconds.count() << ' '
- << std::put_time(&tm_val, "%Z ") << g_hostName << ":"
+ << std::put_time(&tm_val, "%z ") << g_hostName << ":"
<< boost::this_process::get_id() << " " << std::this_thread::get_id()
<< "] ";