Revert "Do not close log file immediately"
This reverts commit e8a446ec76
.
This commit is contained in:
parent
0826948568
commit
ababd027f9
5
pew.go
5
pew.go
@ -564,10 +564,7 @@ func (cmd PewCmd) testArtifact(swg *sizedwaitgroup.SizedWaitGroup,
|
||||
log.Error().Err(err).Msgf("create %s", logfile)
|
||||
return
|
||||
}
|
||||
defer func() {
|
||||
time.Sleep(time.Minute) // FIXME
|
||||
f.Close()
|
||||
}()
|
||||
defer f.Close()
|
||||
|
||||
slog := zerolog.New(zerolog.MultiLevelWriter(
|
||||
&consoleWriter,
|
||||
|
Loading…
Reference in New Issue
Block a user