Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3301084
D4597.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
589 B
Referenced Files
None
Subscribers
None
D4597.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D4597: [services] Lib - Log everything to files
Attached
Detach File
Event Timeline
Log In to Comment