Skip to content

Commit e27b908

Browse files
authored
Disabled JOOQ startup spam (#629)
Co-authored-by: Nxllpointer <Nxllpointer@users.noreply.github.com>
1 parent 2b7ce2f commit e27b908

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

database/src/main/java/org/togetherjava/tjbot/db/Database.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
*/
2727
public final class Database {
2828

29+
static {
30+
System.setProperty("org.jooq.no-logo", "true");
31+
System.setProperty("org.jooq.no-tips", "true");
32+
}
33+
2934
private final DSLContext dslContext;
3035
/**
3136
* Lock used to implement thread-safety across this class. Any database modifying method must

0 commit comments

Comments
 (0)