Stefan Peterson
06/30/2020, 11:39 PMINFO
level. For a Logback provider I have logback-classic
declared as a dependency in my pom.xml
and set up a logback.xml
file src > main > resources but when I try to access the default logger in any ApplicationCall context I am still seeing DEBUG
level logs.
My logback.xml
looks like the following:
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<root level="info">
<appender-ref ref="STDOUT"/>
</root>
<logger name="org.eclipse.jetty" level="INFO"/>
<logger name="io.netty" level="INFO"/>
<logger name="ktor.application" level="INFO" />
</configuration>
Luis Munoz
07/01/2020, 12:22 AM<configuration debug="true">
try adding debug to see if it is even reading it