diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-11-01 15:15:34 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-11-01 16:40:26 +0100 |
commit | 80f793c38d250ca87b6083eb48d7420baaffd02c (patch) | |
tree | 445a4a5c681cdb6098886ccf71f643c292414760 /hugolib/integrationtest_builder.go | |
parent | a9079d7a6305da15d22ce922da36ec12561a71dc (diff) | |
download | hugo-80f793c38d250ca87b6083eb48d7420baaffd02c.tar.gz hugo-80f793c38d250ca87b6083eb48d7420baaffd02c.zip |
Avoid double printing INFO deprecation messages
Fixes #11645
Diffstat (limited to 'hugolib/integrationtest_builder.go')
-rw-r--r-- | hugolib/integrationtest_builder.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hugolib/integrationtest_builder.go b/hugolib/integrationtest_builder.go index 54085070c..14509657a 100644 --- a/hugolib/integrationtest_builder.go +++ b/hugolib/integrationtest_builder.go @@ -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, }, ) |