nerator.generator-bash.3.1.0.source-code.logback.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of generator-bash Show documentation
Show all versions of generator-bash Show documentation
Module bash du projet Generator
<configuration> <property resource="generator.properties" /> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> <pattern> [%d{yyyy-MM-dd HH:mm:ss.SSS}][%-5level] %msg%n </pattern> </encoder> </appender> <!--Daily rolling file appender --> <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <File>/tmp/log/generator.log</File> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <FileNamePattern>/tmp/log/generator.%d{yyyy-MM-dd}.log </FileNamePattern> <maxHistory>30</maxHistory> </rollingPolicy> <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> <pattern> [%d{yyyy-MM-dd HH:mm:ss.SSS}][%-5level] %msg%n </pattern> </encoder> </appender> <logger name="org.sklsft.generator" level="${logLevel}"> <appender-ref ref="STDOUT" /> <appender-ref ref="FILE" /> </logger> <root level="ERROR"> <appender-ref ref="FILE" /> </root> </configuration>