Hey guys, I’m using Netty with Kotlin Exposed. The...
# exposed
d
Hey guys, I’m using Netty with Kotlin Exposed. The console prints out the database transactions that look like this:
Copy code
DEBUG Exposed - INSERT INTO ...
Would anyone know how to suppress these messages?
m
You can usually change the log level for a package in your logging framework. At least with Logback, you can add this to your logback.xml file:
Copy code
<logger name="org.jetbrains.exposed" level="WARN"/>
t
Or don't add logger with with
Transaction.addLogger
if you don't want debug output, but you still will be able to see warns and errors.