blob: 69d63da56ba0faf60054aa34c6a5431c8c27c6c9 [file] [log] [blame]
<!--
/*******************************************************************************
* Copyright (c) 25.07.2011 Aaron Digulla.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Aaron Digulla - initial API and implementation and/or initial documentation
*******************************************************************************/
-->
<configuration>
<!-- Default log level on the console -->
<property name="LOG_LEVEL" value="INFO" />
<timestamp key="bySecond" datePattern="yyyyMMdd-HHmmss" />
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>${LOG_LEVEL}</level>
</filter>
<encoder>
<pattern>%date{HH:mm:ss} [%-5level] %msg%n
</pattern>
</encoder>
</appender>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>tmp/m4e-${bySecond}.txt</file>
<encoder>
<pattern>%date{ISO8601} [%-5level] %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<root level="DEBUG">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE" />
</root>
</configuration>