You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by CmingXu <cm...@gmail.com> on 2016/12/01 01:04:32 UTC
How to turn more verbose executor log on?
Hi, Team
I run with Mesos default docker executor and my questions is how can
I turn verbose level log on, so I can see every docker command that
the executor are running?
Thanks
Re: How to turn more verbose executor log on?
Posted by X Brick <ng...@gmail.com>.
use rest api to set log level during runtime.
```
curl -v -X POST
http://slave_ip:5051/logging/toggle\?level\=1\&duration\=15mins
```
### USAGE ###
> /logging/toggle
### TL;DR; ###
Sets the logging verbosity level for a specified duration.
### DESCRIPTION ###
The libprocess library uses [glog][glog] for logging. The library
only uses verbose logging which means nothing will be output unless
the verbosity level is set (by default it's 0, libprocess uses levels 1, 2,
and 3).
**NOTE:** If your application uses glog this will also affect
your verbose logging.
Query parameters:
> level=VALUE Verbosity level (e.g., 1, 2, 3)
> duration=VALUE Duration to keep verbosity level
> toggled (e.g., 10secs, 15mins, etc.)
[glog]: https://code.google.com/p/google-glog
2016-12-01 9:50 GMT+08:00 CmingXu <cm...@gmail.com>:
> It help, Thanks
>
> On Thu, Dec 1, 2016 at 9:49 AM, tommy xiao <xi...@gmail.com> wrote:
> > have a try this ENV "GLOG_v=1"
> >
> > 2016-12-01 9:04 GMT+08:00 CmingXu <cm...@gmail.com>:
> >>
> >> Hi, Team
> >>
> >> I run with Mesos default docker executor and my questions is how can
> >> I turn verbose level log on, so I can see every docker command that
> >> the executor are running?
> >>
> >> Thanks
> >
> >
> >
> >
> > --
> > Deshi Xiao
> > Twitter: xds2000
> > E-mail: xiaods(AT)gmail.com
>
Re: How to turn more verbose executor log on?
Posted by CmingXu <cm...@gmail.com>.
It help, Thanks
On Thu, Dec 1, 2016 at 9:49 AM, tommy xiao <xi...@gmail.com> wrote:
> have a try this ENV "GLOG_v=1"
>
> 2016-12-01 9:04 GMT+08:00 CmingXu <cm...@gmail.com>:
>>
>> Hi, Team
>>
>> I run with Mesos default docker executor and my questions is how can
>> I turn verbose level log on, so I can see every docker command that
>> the executor are running?
>>
>> Thanks
>
>
>
>
> --
> Deshi Xiao
> Twitter: xds2000
> E-mail: xiaods(AT)gmail.com
Re: How to turn more verbose executor log on?
Posted by CmingXu <cm...@gmail.com>.
It help, Thanks
On Thu, Dec 1, 2016 at 9:49 AM, tommy xiao <xi...@gmail.com> wrote:
> have a try this ENV "GLOG_v=1"
>
> 2016-12-01 9:04 GMT+08:00 CmingXu <cm...@gmail.com>:
>>
>> Hi, Team
>>
>> I run with Mesos default docker executor and my questions is how can
>> I turn verbose level log on, so I can see every docker command that
>> the executor are running?
>>
>> Thanks
>
>
>
>
> --
> Deshi Xiao
> Twitter: xds2000
> E-mail: xiaods(AT)gmail.com
Re: How to turn more verbose executor log on?
Posted by tommy xiao <xi...@gmail.com>.
have a try this ENV "GLOG_v=1"
2016-12-01 9:04 GMT+08:00 CmingXu <cm...@gmail.com>:
> Hi, Team
>
> I run with Mesos default docker executor and my questions is how can
> I turn verbose level log on, so I can see every docker command that
> the executor are running?
>
> Thanks
>
--
Deshi Xiao
Twitter: xds2000
E-mail: xiaods(AT)gmail.com
Re: How to turn more verbose executor log on?
Posted by tommy xiao <xi...@gmail.com>.
have a try this ENV "GLOG_v=1"
2016-12-01 9:04 GMT+08:00 CmingXu <cm...@gmail.com>:
> Hi, Team
>
> I run with Mesos default docker executor and my questions is how can
> I turn verbose level log on, so I can see every docker command that
> the executor are running?
>
> Thanks
>
--
Deshi Xiao
Twitter: xds2000
E-mail: xiaods(AT)gmail.com