Do not show distro type/release and kernel version in cwd logs
This commit is contained in:
parent
4f80122039
commit
8279517ecf
9
pew.go
9
pew.go
@ -569,7 +569,14 @@ func (cmd PewCmd) testArtifact(swg *sizedwaitgroup.SizedWaitGroup,
|
|||||||
slog := zerolog.New(zerolog.MultiLevelWriter(
|
slog := zerolog.New(zerolog.MultiLevelWriter(
|
||||||
&consoleWriter,
|
&consoleWriter,
|
||||||
&fileWriter,
|
&fileWriter,
|
||||||
&zerolog.ConsoleWriter{Out: f},
|
&zerolog.ConsoleWriter{
|
||||||
|
Out: f,
|
||||||
|
FieldsExclude: []string{
|
||||||
|
"distro_release",
|
||||||
|
"distro_type",
|
||||||
|
"kernel",
|
||||||
|
},
|
||||||
|
},
|
||||||
))
|
))
|
||||||
|
|
||||||
switch loglevel {
|
switch loglevel {
|
||||||
|
Loading…
Reference in New Issue
Block a user