1
0

Revert "Do not close log file immediately"

This reverts commit e8a446ec76.
This commit is contained in:
dump_stack() 2023-05-07 15:46:54 +00:00
parent 0826948568
commit ababd027f9
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

5
pew.go
View File

@ -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,