forked from quic-go/quic-go
actually use the log file set as a flag in the integration tests
This commit is contained in:
@@ -27,7 +27,7 @@ var _ = BeforeEach(func() {
|
|||||||
|
|
||||||
if len(logFileName) > 0 {
|
if len(logFileName) > 0 {
|
||||||
var err error
|
var err error
|
||||||
logFile, err = os.Create("./log.txt")
|
logFile, err = os.Create(logFileName)
|
||||||
Expect(err).ToNot(HaveOccurred())
|
Expect(err).ToNot(HaveOccurred())
|
||||||
log.SetOutput(logFile)
|
log.SetOutput(logFile)
|
||||||
utils.SetLogLevel(utils.LogLevelDebug)
|
utils.SetLogLevel(utils.LogLevelDebug)
|
||||||
|
|||||||
Reference in New Issue
Block a user