Skip to content

Commit

Permalink
Temporarily enable debug log for createAllocs
Browse files Browse the repository at this point in the history
Relates to #270
  • Loading branch information
enobufs committed Dec 31, 2023
1 parent 4196db9 commit 0477884
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion association.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ loop:
_, err := a.netConn.Write(raw)
if err != nil {
if !errors.Is(err, io.EOF) {
a.log.Warnf("[%s] failed to write packets on netConn: %v", a.name, err)
a.log.Warnf("[%s] failed to write packets on netConn: %v (%T)", a.name, err, err)
}
a.log.Debugf("[%s] writeLoop ended", a.name)
break loop
Expand Down
1 change: 1 addition & 0 deletions association_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2648,6 +2648,7 @@ func createAssocs(t *testing.T) (*Association, *Association, error) {
}

loggerFactory := logging.NewDefaultLoggerFactory()
loggerFactory.DefaultLogLevel = logging.LogLevelDebug

a1Chan := make(chan interface{})
a2Chan := make(chan interface{})
Expand Down

0 comments on commit 0477884

Please sign in to comment.