禁用 Jooq 每日提示

发布于 2025-01-13 21:54:01 字数 160 浏览 1 评论 0原文

有什么方法可以禁止 jooQ 打印每日提示吗?

输入图像描述这里

Is there any way to disable jooQ from printing the tip of the day?

enter image description here

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

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

发布评论

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

评论(2

疧_╮線 2025-01-20 21:54:01

通过查看 源代码,您可以通过将系统属性org.jooq.no-tips定义为true来禁用它,例如在命令上行、属性文件或代码中:

System.setProperty("org.jooq.no-tips", "true");

As you can see by looking at the source code, you can disable it by defining the system property org.jooq.no-tips to true, for example on the command line, in a properties file, or in your code:

System.setProperty("org.jooq.no-tips", "true");
伪装你 2025-01-20 21:54:01

我假设您在 Spring 内部使用 jOOQ,如果是这样,请将以下行放入您的 application.properties 中。它关闭了当天的提示和徽标

logging.level.org.jooq.Constants=off

I assume you are using jOOQ inside of Spring, and if so put the following line into your application.properties. It turns the tip of the day and the logo off

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