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.
pull/64/head
Tobias Schmidt 10 years ago
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…
Cancel
Save