Redirect messages written to the standard "log" package to the INFO log,
in particular to capture messages from the "net/http" package.

This change only affects programs that import "github.com/golang/glog".

Messages written to the standard "log" package will always appear on standard error,
as they do now, though they will be formatted like INFO log messages. These messages
will also appear in the INFO log file unless --logtostderr is set.
2 files changed
tree: c85bc39c693c4547b32e9688fb0df102c3af2537
  1. glog.go
  2. glog_file.go
  3. glog_test.go
  4. LICENSE
  5. README