added more logging info (#2667)
This commit is contained in:
parent
55e3a37d19
commit
6dee5a3918
@ -36,10 +36,6 @@ type Report struct {
|
|||||||
|
|
||||||
// NewReporter instantiates a reporter
|
// NewReporter instantiates a reporter
|
||||||
func NewReporter(log *zap.Logger, overlay *overlay.Cache, containment Containment, maxRetries int, maxReverifyCount int32) *Reporter {
|
func NewReporter(log *zap.Logger, overlay *overlay.Cache, containment Containment, maxRetries int, maxReverifyCount int32) *Reporter {
|
||||||
if log == nil {
|
|
||||||
log = log.Named("audit:reporter")
|
|
||||||
}
|
|
||||||
|
|
||||||
return &Reporter{
|
return &Reporter{
|
||||||
log: log,
|
log: log,
|
||||||
overlay: overlay,
|
overlay: overlay,
|
||||||
|
Loading…
Reference in New Issue
Block a user