Looks like Mesos logging flags
<https://github.com/apache/mesos/blob/00815ee93b69b1f93a4c8e42e0bc548a021804bc/src/logging/flags.cpp>
for these override
<https://github.com/apache/mesos/blob/00815ee93b69b1f93a4c8e42e0bc548a021804bc/src/logging/logging.cpp#L146>
the corresponding GLOG related flags.

Try setting "MESOS_LOG_DIR=</path/to/logdir>" and "MESOS_QUIET=true"

On Mon, Sep 12, 2016 at 12:09 PM, Wil Yegelwel <[email protected]> wrote:

> I’m trying to set the log path (and later the log format) for the mesos
> java lib. From the docs in http://mesos.apache.org/api/
> latest/java/org/apache/mesos/MesosSchedulerDriver.html it appears I need
> to set the correct GLOG environment variable in order to get this to work,
> but I can’t seem to get it. I’ve tried setting the environment variables:
> “GLOG_log_dir=…”, “GLOG_logtostderr=0” but neither seem to change the
> behavior and it is still logging to stderr. Has anyone been able to set the
> path the mesos java client library writes to and, if so, how?
>
>

Reply via email to