-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.1版本 server 的logger段配置问题 #1946
Comments
遇到了相同的问题,请问后续有如何处理吗 |
@stevenyangecho @glennliao 不好意思我来晚了,我初步 |
houseme
added a commit
to houseme/gf
that referenced
this issue
Oct 13, 2022
* master: (29 commits) fix issue gogf#1946 (gogf#2194) fix issue of OmitEmptyWhere in Builder for package gdb (gogf#2195) fix: modify `Polaris` config readme.md (gogf#2186) fix info content when listens on port :0 for ghttp.Server (gogf#2191) fix: pgsql driver check local type error (gogf#2192) new version v2.2.0 (gogf#2185) feat: temporarily disable the unit testing of the Polaris configuration center (gogf#2183) package comments and readme update (gogf#2182) feat: create polaris config (gogf#2170) add function `ZipPathContent` for package `gcompress` (gogf#2179) feat: improve glog for polaris register (gogf#2178) improve port listening for ghttp.Server (gogf#2175) add WithUUID for package gtrace (gogf#2176) fix issue gogf#1965 (gogf#2177) fix issue gogf#1965 (gogf#2174) fix issue gogf#2172 (gogf#2173) add `gcfg.Adapter` implements using apollo service (gogf#2165) add watch feature for package kubecm (gogf#2164) fix configuration management for package gdb (gogf#2163) add local db configuration support for package gdb (gogf#2161) ... # Conflicts: # contrib/config/apollo/README.MD # contrib/config/apollo/apollo.go # contrib/config/kubecm/README.MD # contrib/config/kubecm/kubecm.go # contrib/drivers/README.MD # contrib/registry/polaris/go.mod # contrib/registry/polaris/go.sum # database/gdb/gdb_driver_wrapper_db.go # example/go.mod # example/go.sum # version.go
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1. What version of
Go
and system type/arch are you using?go version go1.18 windows/amd64
2. What version of
GoFrame
are you using?CLI Built Detail:
Go Version: go1.17.11
GF Version: v2.1.0
Git Commit: 2022-06-21 21:52:54 3b9e5c7
Build Time: 2022-06-21 22:04:44
https://goframe.org/pages/viewpage.action?pageId=44449484
有一个关于服务端logger的配置
我在本地 配置
build 运行 后会报错
debug调试代码 发现
gf/frame/gins/gins_server.go
Line 70 in f57d71b
这一行覆盖了 server 的config字段,导致 server.config.Logger.init 为nil. 从而导致程序出错
问题二
这些字段似乎和 server 本身的
有重复?冲突? 有没有详细一点的解释呢
The text was updated successfully, but these errors were encountered: