Skip to content

Commit 3c6e813

Browse files
author
Maurizio Boriani
committed
Fix logging bufio.Scanner bug.
A bug in used log lib github.com/sirupsen/logrus v1.9.0: Error while reading from Writer: bufio.Scanner: token too long #1370 sirupsen/logrus#1370 That was closing unexpectly the stderr log socket provided by containerpilot to managed services. Good catch by Ema Musella which founds the exact error message that lead us to problem solving. The bug is fixed by updating logrus to release 1.9.3.
1 parent 22bdce4 commit 3c6e813

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/hashicorp/go-cleanhttp v0.5.2
1111
github.com/mitchellh/mapstructure v1.5.0
1212
github.com/prometheus/client_golang v1.13.0
13-
github.com/sirupsen/logrus v1.9.0
13+
github.com/sirupsen/logrus v1.9.3
1414
github.com/stretchr/testify v1.8.1
1515
)
1616

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,8 @@ github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6Mwd
303303
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
304304
github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0=
305305
github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
306+
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
307+
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
306308
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
307309
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
308310
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=

0 commit comments

Comments
 (0)