From eb66060cd7b9bce996b1d75ae80ce1ef31d5ce62 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 9 Feb 2017 19:29:59 -0500 Subject: log: start using gopkg.in/clog.v1 --- modules/context/repo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/context/repo.go') diff --git a/modules/context/repo.go b/modules/context/repo.go index 59891f86..1c322a95 100644 --- a/modules/context/repo.go +++ b/modules/context/repo.go @@ -11,13 +11,13 @@ import ( "strings" "github.com/Unknwon/com" + log "gopkg.in/clog.v1" "gopkg.in/editorconfig/editorconfig-core-go.v1" "gopkg.in/macaron.v1" "github.com/gogits/git-module" "github.com/gogits/gogs/models" - "github.com/gogits/gogs/modules/log" "github.com/gogits/gogs/modules/setting" ) @@ -267,7 +267,7 @@ func RepoAssignment(args ...bool) macaron.Handler { // repo is bare and display enable if ctx.Repo.Repository.IsBare { - log.Debug("Bare repository: %s", ctx.Repo.RepoLink) + log.Trace("Bare repository: %s", ctx.Repo.RepoLink) // NOTE: to prevent templating error ctx.Data["BranchName"] = "" if displayBare { -- cgit v1.2.3