summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources/logback.xml
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-02-17 17:39:15 +0100
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-02-17 17:39:15 +0100
commit76018bf5e46ee440457204c1f52b6f61dc03fcc1 (patch)
tree9f50ff898ac4c9920b9f6e44dbb79c372a25ec22 /pdf-over-gui/src/main/resources/logback.xml
parent030fc579050ea42d8e813402f75e14b8c8ee1a57 (diff)
downloadpdf-over-76018bf5e46ee440457204c1f52b6f61dc03fcc1.tar.gz
pdf-over-76018bf5e46ee440457204c1f52b6f61dc03fcc1.tar.bz2
pdf-over-76018bf5e46ee440457204c1f52b6f61dc03fcc1.zip
log4j -> logback 1.2.10 (latest stable)
closes #57
Diffstat (limited to 'pdf-over-gui/src/main/resources/logback.xml')
-rw-r--r--pdf-over-gui/src/main/resources/logback.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/resources/logback.xml b/pdf-over-gui/src/main/resources/logback.xml
new file mode 100644
index 00000000..e9d8bd6f
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/logback.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Built in 2022-02-17 04:16 by logback-translator -->
+<!-- -->
+<!-- For sponsoring SLF4J/logback/reload4j projects see -->
+<!-- https://github.com/sponsors/qos-ch -->
+<!-- -->
+<configuration>
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <encoding>UTF-8</encoding>
+ <encoder>
+ <pattern>%-5p | %t @ %c{40} | %m%n</pattern>
+ </encoder>
+ </appender>
+ <appender name="LOGFILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <!--See also http://logback.qos.ch/manual/appenders.html#RollingFileAppender-->
+ <encoding>UTF-8</encoding>
+ <file>${user.home}/.pdf-over/pdf-over.log</file>
+ <encoder>
+ <pattern>%-5p | %d | %t @ %c | %m%n</pattern>
+ </encoder>
+ <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
+ <level>INFO</level>
+ </filter>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <maxIndex>10</maxIndex>
+ <FileNamePattern>${user.home}/.pdf-over/pdf-over.log.%i</FileNamePattern>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <MaxFileSize>100KB</MaxFileSize>
+ </triggeringPolicy>
+ </appender>
+ <logger name="at.asit.pdfover" level="INFO"/>
+ <root level="WARN">
+ <appender-ref ref="STDOUT"/>
+ <appender-ref ref="LOGFILE"/>
+ </root>
+</configuration> \ No newline at end of file