Skip to content

Instantly share code, notes, and snippets.

@robotdan
Created July 10, 2019 15:16
Show Gist options
  • Save robotdan/422904ddf9381233b0ac73654fd8d243 to your computer and use it in GitHub Desktop.
Save robotdan/422904ddf9381233b0ac73654fd8d243 to your computer and use it in GitHub Desktop.
FusionAuth log configuration with DEBUG enabled
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="60 seconds">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
<pattern>%d{"MMM dd, yyyy h:mm:ss.SSS a"} %-5level %logger{75} - %msg%n</pattern>
</encoder>
</appender>
<!-- DEBUG enabled -->
<logger name="io.fusionauth" level="DEBUG" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
<logger name="org.primeframework" level="INFO" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
<logger name="com.inversoft.migration" level="INFO" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
<logger name="com.inversoft.maintenance" level="INFO" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
<!-- Kafka logging is chatty -->
<logger name="org.apache.kafka.common.utils.AppInfoParser" level="ERROR" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
<logger name="org.apache.kafka.clients.consumer.ConsumerConfig" level="ERROR" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
<logger name="org.apache.kafka.clients.producer.ProducerConfig" level="ERROR" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
<logger name="org.apache.kafka.clients.producer.KafkaProducer" level="ERROR" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
<logger name="org.apache.kafka.clients.NetworkClient" level="ERROR" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment