Lower logging level of some common logs.

This commit is contained in:
Victor Marmol 2015-05-06 10:14:29 -07:00
parent e44420e887
commit 834d1cf34e
3 changed files with 4 additions and 4 deletions

View File

@ -320,7 +320,7 @@ func (c *containerData) updateStats() error {
err := c.summaryReader.AddSample(*stats) err := c.summaryReader.AddSample(*stats)
if err != nil { if err != nil {
// Ignore summary errors for now. // Ignore summary errors for now.
glog.V(2).Infof("failed to add summary stats for %q: %v", c.info.Name, err) glog.V(2).Infof("Failed to add summary stats for %q: %v", c.info.Name, err)
} }
} }
ref, err := c.handler.ContainerReference() ref, err := c.handler.ContainerReference()

View File

@ -691,7 +691,7 @@ func (m *manager) createContainer(containerName string) error {
if alreadyExists { if alreadyExists {
return nil return nil
} }
glog.V(2).Infof("Added container: %q (aliases: %v, namespace: %q)", containerName, cont.info.Aliases, cont.info.Namespace) glog.V(3).Infof("Added container: %q (aliases: %v, namespace: %q)", containerName, cont.info.Aliases, cont.info.Namespace)
contSpec, err := cont.handler.GetSpec() contSpec, err := cont.handler.GetSpec()
if err != nil { if err != nil {
@ -746,7 +746,7 @@ func (m *manager) destroyContainer(containerName string) error {
Name: alias, Name: alias,
}) })
} }
glog.V(2).Infof("Destroyed container: %q (aliases: %v, namespace: %q)", containerName, cont.info.Aliases, cont.info.Namespace) glog.V(3).Infof("Destroyed container: %q (aliases: %v, namespace: %q)", containerName, cont.info.Aliases, cont.info.Namespace)
contRef, err := cont.handler.ContainerReference() contRef, err := cont.handler.ContainerReference()
if err != nil { if err != nil {

View File

@ -180,7 +180,7 @@ func trySystemd() (*OomParser, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
glog.V(1).Infof("oomparser using systemd") glog.Infof("oomparser using systemd")
return &OomParser{ return &OomParser{
ioreader: bufio.NewReader(readcloser), ioreader: bufio.NewReader(readcloser),
}, nil }, nil