在quarkus中设置loglevel

发布于 2025-01-27 00:53:00 字数 234 浏览 5 评论 0原文

我想运行:

quarkus.log.level = debug

,并使用catecory设置Spesific Cepage,例如:

quarkus.log.category。警告

此功能在增强阶段完成后工作,但在增强阶段没有,loglevel仍在调试“ io.quarkus”的调试中,

是否有一种改变此问题的方法,谢谢

I want to run with :

quarkus.log.level=DEBUG

And set spesific pacage to other level using catecory, like this:

quarkus.log.category."io.quarkus".level=WARN

This works after the augmentation phase is finished, but not during the augmentation phase, where the loglevel remains on DEBUG for "io.quarkus"

Is there is a way to change this, thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烟若柳尘 2025-02-03 00:53:00

当将日志级别设置为下方调试时,还必须调整最小日志级别。此设置是全局,使用quarkus.log.min级配置属性,或每个类别:

quarkus.log.category。“ org.hibernate” .min-level = trace

When you set the log level to below DEBUG, you must also adjust the minimum log level. This setting is either global, using the quarkus.log.min-level configuration property, or per category:

quarkus.log.category."org.hibernate".min-level=TRACE

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文