mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
@@ -394,10 +394,10 @@ func (s *IntegrationTestBuilder) initBuilder() error {
|
||||
|
||||
logger := loggers.New(
|
||||
loggers.Options{
|
||||
Stdout: w,
|
||||
Stderr: w,
|
||||
Level: s.Cfg.LogLevel,
|
||||
Distinct: true,
|
||||
Stdout: w,
|
||||
Stderr: w,
|
||||
Level: s.Cfg.LogLevel,
|
||||
DistinctLevel: logg.LevelWarn,
|
||||
},
|
||||
)
|
||||
|
||||
|
@@ -117,7 +117,7 @@ func NewHugoSites(cfg deps.DepsCfg) (*HugoSites, error) {
|
||||
|
||||
logOpts := loggers.Options{
|
||||
Level: cfg.LogLevel,
|
||||
Distinct: true, // This will drop duplicate log warning and errors.
|
||||
DistinctLevel: logg.LevelWarn, // This will drop duplicate log warning and errors.
|
||||
HandlerPost: logHookLast,
|
||||
Stdout: cfg.LogOut,
|
||||
Stderr: cfg.LogOut,
|
||||
|
Reference in New Issue
Block a user