add logging for log reader start/stop

This commit is contained in:
Bradley Cicenas 2017-11-28 14:38:32 +00:00
parent 3e5176a79c
commit 1c8f4b3a35

View File

@ -58,6 +58,7 @@ func (l *DockerLogs) Stream() chan models.Log {
if err != nil {
log.Errorf("error reading container logs: %s", err)
}
log.Infof("log reader stopped for container: %s", l.id)
}()
go func() {
@ -67,6 +68,7 @@ func (l *DockerLogs) Stream() chan models.Log {
}
}()
log.Infof("log reader started for container: %s", l.id)
return logCh
}