mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-27 22:09:53 +02:00
@@ -579,7 +579,8 @@ func (h *HugoSites) resetLogs() {
|
||||
h.Log.Reset()
|
||||
loggers.GlobalErrorCounter.Reset()
|
||||
for _, s := range h.Sites {
|
||||
s.Deps.DistinctErrorLog = helpers.NewDistinctLogger(h.Log.Error())
|
||||
s.Deps.Log.Reset()
|
||||
s.Deps.LogDistinct.Reset()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user