Page MenuHomePhabricator

D4597.diff
No OneTemporary

D4597.diff

diff --git a/services/lib/src/GlobalTools.cpp b/services/lib/src/GlobalTools.cpp
--- a/services/lib/src/GlobalTools.cpp
+++ b/services/lib/src/GlobalTools.cpp
@@ -58,14 +58,7 @@
}
void InitLogging(const std::string &programName) {
- FLAGS_logtostderr = true;
- FLAGS_colorlogtostderr = true;
- if (comm::network::tools::isSandbox()) {
- // Log levels INFO, WARNING, ERROR, FATAL are 0, 1, 2, 3, respectively
- FLAGS_minloglevel = 0;
- } else {
- FLAGS_minloglevel = 1;
- }
+ FLAGS_log_dir = std::string("/logs");
google::InitGoogleLogging(programName.c_str());
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 11:49 PM (19 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2536170
Default Alt Text
D4597.diff (589 B)

Event Timeline