mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From X Brick <ngdoc...@gmail.com>
Subject Re: How to turn more verbose executor log on?
Date Thu, 01 Dec 2016 09:02:51 GMT
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 <cming.xu@gmail.com>:

> It help, Thanks
>
> On Thu, Dec 1, 2016 at 9:49 AM, tommy xiao <xiaods@gmail.com> wrote:
> > have a try this ENV  "GLOG_v=1"
> >
> > 2016-12-01 9:04 GMT+08:00 CmingXu <cming.xu@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
>

Mime
View raw message