diff options
-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 |