Created
November 3, 2016 21:31
-
-
Save anonymous/066e28fb8936822ecf934fc78fd154fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; deps | |
[org.apache.logging.log4j/log4j-core "2.7"] | |
[org.apache.logging.log4j/log4j-slf4j-impl "2.7"] | |
[org.clojure/tools.logging "0.3.1"] | |
;; log4j2.xml | |
<?xml version="1.0" encoding="UTF-8"?> | |
<Configuration status="WARN"> | |
<Appenders> | |
<Console name="Console" target="SYSTEM_OUT"> | |
<PatternLayout pattern="␂%r჻%thread჻%logger{36}჻%msg␃%n"/> | |
</Console> | |
<File name="MyFile" fileName="logs/partyline.log"> | |
<PatternLayout> | |
<Pattern>%d %p %c{1.} [%t] %m%n</Pattern> | |
</PatternLayout> | |
</File> | |
<Async name="Async"> | |
<AppenderRef ref="MyFile"/> | |
</Async> | |
</Appenders> | |
<Loggers> | |
<Root level="info"> | |
<AppenderRef ref="MyFile"/> | |
</Root> | |
</Loggers> | |
</Configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment