Skip to content

Commit 0587cb1

Browse files
committed
Update logs in DisconnectContainer
1 parent 8b02ed1 commit 0587cb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/logstream/logstream.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,10 @@ func (g *ContainerLogConsumer) stop() error {
456456
func (m *LogStream) DisconnectContainer(container LogProducingContainer) error {
457457
var err error
458458

459+
m.log.Info().Str("Container", container.GetContainerID()).Msg("Disconnecting container")
460+
459461
if container.IsRunning() {
460-
m.log.Trace().Str("container", container.GetContainerID()).Msg("Disconnecting container")
462+
m.log.Info().Str("Container", container.GetContainerID()).Msg("Stopping log producer")
461463
err = container.StopLogProducer()
462464
}
463465

0 commit comments

Comments
 (0)