diff options
Diffstat (limited to 'internal/source/disk/map.go')
-rw-r--r-- | internal/source/disk/map.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/source/disk/map.go b/internal/source/disk/map.go index 0413d409..05ab4c30 100644 --- a/internal/source/disk/map.go +++ b/internal/source/disk/map.go @@ -10,7 +10,8 @@ import ( "time" "github.com/karrick/godirwalk" - log "github.com/sirupsen/logrus" + "github.com/sirupsen/logrus" + "gitlab.com/gitlab-org/labkit/log" "gitlab.com/gitlab-org/gitlab-pages/internal/domain" "gitlab.com/gitlab-org/gitlab-pages/metrics" @@ -294,7 +295,7 @@ func Watch(rootDomain string, updater domainsUpdater, interval time.Duration) { } func logConfiguredDomains(dm Map) { - if log.GetLevel() != log.DebugLevel { + if logrus.GetLevel() != logrus.DebugLevel { return } |