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:
Tobias Schmidt 2015-04-15 23:38:53 -04:00
parent e4fd929305
commit a814d7f8da

View File

@ -10,6 +10,12 @@ collectors.
make
./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
make test