Skip to content
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

能优化一下日志吗? #49

Open
JimmyWang2001 opened this issue Jul 17, 2021 · 4 comments
Open

能优化一下日志吗? #49

JimmyWang2001 opened this issue Jul 17, 2021 · 4 comments

Comments

@JimmyWang2001
Copy link

1: 能否在动态改变日志打印模式,比如增加个调试模式打印,有的时候,在生产项目中,我们想临时看看池的运行状态,有几个在用,平时运行时不用打印。

2:项目启动时候参数信息打印, 能否美化一下? 比如参照一下光连接池的做法?

@Chris2018998
Copy link
Owner

BeeCP-Starter有监控界面,可以查看池的内部信息。

@Chris2018998
Copy link
Owner

Chris2018998 commented Jul 18, 2021

池增加了一个运行时日志打印开关,下个版本会包含进去,可以使用Jmx方式改变值。

提示:日志最低级不能大于INFO。

@Chris2018998
Copy link
Owner

BeeCP-3.2.6版本已发布,如果是Springboot项目,可以写个Control接口切换 DataSource上的运行日志开关。

先试试用看,有什么问题,进一步再提。

@Chris2018998
Copy link
Owner

有什么具体的想法请提出来

@Chris2018998 Chris2018998 reopened this Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants