index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
modules
/
log
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'modules/log')
-rw-r--r--
modules/log/log.go
1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/log/log.go b/modules/log/log.go
index f21897b9..636ea787 100644
--- a/
modules/log/log.go
+++ b/
modules/log/log.go
@@ -21,6 +21,7 @@ func init() {
func NewLogger(bufLen int64, mode, config string) {
Mode, Config = mode, config
logger = logs.NewLogger(bufLen)
+ logger.SetLogFuncCallDepth(3)
logger.SetLogger(mode, config)
}