diff options
author | Meaglith Ma <genedna@gmail.com> | 2014-04-23 12:29:53 +0800 |
---|---|---|
committer | Meaglith Ma <genedna@gmail.com> | 2014-04-23 12:29:53 +0800 |
commit | ee7bfe2ebe3a453beff5e8d4c1436061d321acfe (patch) | |
tree | 02575fe703fdcfaa2bd6450b852734d9305c9ce6 /modules/log | |
parent | b270b34c98b10b0e4807048890e883b6b06a6461 (diff) | |
parent | f0cdf30134e62be6bf5924735a6145769e495cfc (diff) |
Add memcached and redis Docker supported
Diffstat (limited to 'modules/log')
-rw-r--r-- | modules/log/log.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/log/log.go b/modules/log/log.go index 65150237..636ea787 100644 --- a/modules/log/log.go +++ b/modules/log/log.go @@ -21,8 +21,7 @@ func init() { func NewLogger(bufLen int64, mode, config string) { Mode, Config = mode, config logger = logs.NewLogger(bufLen) - logger.EnableFuncCallDepth(true) - logger.SetLogFuncCallDepth(4) + logger.SetLogFuncCallDepth(3) logger.SetLogger(mode, config) } |