mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-01-14 07:20:37 -08:00
Document how to enable logging
Not everyone might have experience with glog's default settings, this change intends to make the start for new users easier.
This commit is contained in:
parent
e4fd929305
commit
a814d7f8da
|
@ -10,6 +10,12 @@ collectors.
|
||||||
make
|
make
|
||||||
./node_exporter <flags>
|
./node_exporter <flags>
|
||||||
|
|
||||||
|
The node_exporter uses the [glog][glog] library for logging. With the default
|
||||||
|
parameters, nothing will be logged. Use `-logtostderr` to enable logging to
|
||||||
|
stderr and `--help` to see more options about logging.
|
||||||
|
|
||||||
|
[glog]: https://godoc.org/github.com/golang/glog
|
||||||
|
|
||||||
## Running tests
|
## Running tests
|
||||||
|
|
||||||
make test
|
make test
|
||||||
|
|
Loading…
Reference in a new issue