Skip to content

Instantly share code, notes, and snippets.

@unrelentingfox
Last active January 11, 2019 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unrelentingfox/ae089a77b548b677d6c9d8ae12301618 to your computer and use it in GitHub Desktop.
Save unrelentingfox/ae089a77b548b677d6c9d8ae12301618 to your computer and use it in GitHub Desktop.
# For use when you need trace level logs
status = error
name = PropertiesConfig
filters = threshold
filter.threshold.type = ThresholdFilter
filter.threshold.level = trace
appenders = console
appender.console.type = Console
appender.console.name = STDOUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
rootLogger.level = trace
rootLogger.appenderRefs = stdout
rootLogger.appenderRef.stdout.ref = STDOUT
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.11.1</version>
</dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment