1
0

Do not show distro type/release and kernel version in cwd logs

This commit is contained in:
dump_stack() 2023-05-02 12:38:06 +00:00
parent 4f80122039
commit 8279517ecf
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

9
pew.go
View File

@ -569,7 +569,14 @@ func (cmd PewCmd) testArtifact(swg *sizedwaitgroup.SizedWaitGroup,
slog := zerolog.New(zerolog.MultiLevelWriter(
&consoleWriter,
&fileWriter,
&zerolog.ConsoleWriter{Out: f},
&zerolog.ConsoleWriter{
Out: f,
FieldsExclude: []string{
"distro_release",
"distro_type",
"kernel",
},
},
))
switch loglevel {