commit | 49850ea55f4b32f6c605a10784fdd6f5651f0fce | [log] [tgz] |
---|---|---|
author | David Symonds <dsymonds@golang.org> | Fri Jan 24 17:36:00 2014 |
committer | David Symonds <dsymonds@golang.org> | Wed Nov 05 01:51:25 2014 |
tree | c85bc39c693c4547b32e9688fb0df102c3af2537 | |
parent | d1c4472bf2efd3826f2b5bdcc02d8416798d678c [diff] |
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.