diff options
author | Thomas <> | 2021-12-17 18:30:29 +0100 |
---|---|---|
committer | Thomas <> | 2021-12-17 18:30:29 +0100 |
commit | 8c20ff4229a765ca64dfd0d9230af8f33211df14 (patch) | |
tree | 5344993109c92bbee39ccd608559f13ab28c5597 | |
parent | e483939da7a6c1cc4bcf6f477dd0e7b972ab771f (diff) | |
download | einfach-signieren-8c20ff4229a765ca64dfd0d9230af8f33211df14.tar.gz einfach-signieren-8c20ff4229a765ca64dfd0d9230af8f33211df14.tar.bz2 einfach-signieren-8c20ff4229a765ca64dfd0d9230af8f33211df14.zip |
include logback configuration into application
-rw-r--r-- | simpleSigning/src/main/resources/logback.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/simpleSigning/src/main/resources/logback.xml b/simpleSigning/src/main/resources/logback.xml new file mode 100644 index 0000000..fe64483 --- /dev/null +++ b/simpleSigning/src/main/resources/logback.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- For assistance related to logback-translator or configuration --> +<!-- files in general, please contact the logback user mailing list --> +<!-- at http://www.qos.ch/mailman/listinfo/logback-user --> +<!-- --> +<!-- For professional support please see --> +<!-- http://www.qos.ch/shop/products/professionalSupport --> +<!-- --> +<configuration> + <appender name="filelogger" class="ch.qos.logback.core.rolling.RollingFileAppender"> + <!--See also http://logback.qos.ch/manual/appenders.html#RollingFileAppender--> + <File>${catalina.base}/logs/simple_signing.log</File> + <encoder> + <pattern>%5p | %d{dd HH:mm:ss,SSS} | %C{1} | %20c | %10t | %m%n</pattern> + </encoder> + <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> + <maxIndex>10</maxIndex> + <FileNamePattern>${catalina.base}/logs/simple_signing.log.%i.gz</FileNamePattern> + </rollingPolicy> + <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> + <MaxFileSize>5000KB</MaxFileSize> + </triggeringPolicy> + </appender> + <logger name="at.gv.egiz.simpleSigning" level="info"> + <appender-ref ref="filelogger"/> + </logger> + <root level="warn"> + <appender-ref ref="filelogger"/> + </root> +</configuration>
\ No newline at end of file |