Skip to content

Commit

Permalink
drop logrus for containerd/log
Browse files Browse the repository at this point in the history
Signed-off-by: fahed dorgaa <fahed.dorgaa@gmail.com>
  • Loading branch information
fahedouch committed Nov 6, 2023
1 parent ff84618 commit 193c92b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/logging/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func loggingProcessAdapter(ctx context.Context, driver Driver, dataStore, hostAd
buf := make([]byte, 32<<10)
_, err := io.CopyBuffer(writer, reader, buf)
if err != nil {
logrus.Errorf("failed to copy stream: %s", err)
log.L.Errorf("failed to copy stream: %s", err)
}
}
go copyStream(config.Stdout, stdoutW)
Expand Down Expand Up @@ -245,7 +245,7 @@ func loggingProcessAdapter(ctx context.Context, driver Driver, dataStore, hostAd

exitCh, err := getContainerWait(ctx, hostAddress, config)
if err != nil {
logrus.Errorf("failed to get container task wait channel: %v", err)
log.L.Errorf("failed to get container task wait channel: %v", err)
return
}
<-exitCh
Expand Down

0 comments on commit 193c92b

Please sign in to comment.