All Downloads are FREE. Search and download functionalities are using the official Maven repository.

leon.core.0.2.6.source-code.logback.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright 2009 OW2 Chameleon
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->
<configuration>
 <appender class="ch.qos.logback.core.FileAppender" name="RootFileAppender">
   <file>${chameleon.log.dir}/chameleon_log.html</file>
   <append>false</append><!-- Set the append to false to avoid log size explosion -->
   <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
     <level>${chameleon.log.level}</level>
   </filter>
   <encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
    <layout class="ch.qos.logback.classic.html.HTMLLayout">
      <pattern>%d{yyyy-MM-dd HH:mm:ss}%p%c%t%ex %m</pattern>
    </layout>
  </encoder>
 </appender>
 <appender class="ch.qos.logback.core.ConsoleAppender" name="RootConsoleAppender">
   <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
     <level>${chameleon.log.level}</level>
   </filter>
     <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
     <pattern>%d{yyyy-MM-dd HH:mm:ss},%p,%c,%t %m%n</pattern>
    </encoder>
 </appender>

 <root>
   <level>${chameleon.log.level}</level>
   <appender-ref ref="RootFileAppender"/>
   <appender-ref ref="RootConsoleAppender"/>
 </root>
</configuration>





© 2015 - 2025 Weber Informatics LLC | Privacy Policy