You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 05:21:04 UTC
svn commit: r1131548 - in /incubator/mesos/trunk/src: master_main.cpp
slave_main.cpp
Author: benh
Date: Sun Jun 5 03:21:04 2011
New Revision: 1131548
URL: http://svn.apache.org/viewvc?rev=1131548&view=rev
Log:
Set Google log directory to /tmp in order to have it work even on
platforms where glog does not know the name of the temp directory.
Closes #15, though log location should eventually be configurable.
Modified:
incubator/mesos/trunk/src/master_main.cpp
incubator/mesos/trunk/src/slave_main.cpp
Modified: incubator/mesos/trunk/src/master_main.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/master_main.cpp?rev=1131548&r1=1131547&r2=1131548&view=diff
==============================================================================
--- incubator/mesos/trunk/src/master_main.cpp (original)
+++ incubator/mesos/trunk/src/master_main.cpp Sun Jun 5 03:21:04 2011
@@ -64,6 +64,7 @@ int main (int argc, char **argv)
if (!quiet)
google::SetStderrLogging(google::INFO);
+ FLAGS_log_dir = "/tmp";
FLAGS_logbufsecs = 1;
google::InitGoogleLogging(argv[0]);
Modified: incubator/mesos/trunk/src/slave_main.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/slave_main.cpp?rev=1131548&r1=1131547&r2=1131548&view=diff
==============================================================================
--- incubator/mesos/trunk/src/slave_main.cpp (original)
+++ incubator/mesos/trunk/src/slave_main.cpp Sun Jun 5 03:21:04 2011
@@ -61,6 +61,7 @@ int main(int argc, char **argv)
if (!quiet)
google::SetStderrLogging(google::INFO);
+ FLAGS_log_dir = "/tmp";
FLAGS_logbufsecs = 1;
google::InitGoogleLogging(argv[0]);