From a814d7f8da1c4971e3cd6226848520055b2f396e Mon Sep 17 00:00:00 2001 From: Tobias Schmidt Date: Wed, 15 Apr 2015 23:38:53 -0400 Subject: [PATCH] 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. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 6cd449dd..38affb73 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,12 @@ collectors. make ./node_exporter +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