diff options
author | Unknwon <u@gogs.io> | 2017-02-09 19:29:59 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-09 19:29:59 -0500 |
commit | eb66060cd7b9bce996b1d75ae80ce1ef31d5ce62 (patch) | |
tree | cb692b6a3504985f3d0de7de159a4b8cc6f0d4a5 /modules/context/repo.go | |
parent | 8a19f8a63c12fb1119c86fa65fa408ecba00bc6c (diff) |
log: start using gopkg.in/clog.v1
Diffstat (limited to 'modules/context/repo.go')
-rw-r--r-- | modules/context/repo.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |