<?xml version="1.0" encoding="UTF-8"?>
<!-- 
============================================================================ 
Name        : libs.ant.xml 
Part of     : Helium Antlib

Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
This component and the accompanying materials are made available
under the terms of the License "Eclipse Public License v1.0"
which accompanies this distribution, and is available
at the URL "http://www.eclipse.org/legal/epl-v10.html".

Initial Contributors:
Nokia Corporation - initial contribution.

Contributors:

Description:

============================================================================
-->
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

    <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
            <appender-ref ref="FILE"/>
            <appender-ref ref="CONSOLE"/>
    </appender>

    <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
        <layout class="org.apache.log4j.PatternLayout">
               <param name="ConversionPattern" 
                            value="%d{HH:mm:ss,SSS}  %-2p - %m  %n"/>
        </layout>
    <filter class="org.apache.log4j.varia.LevelMatchFilter">
      <param name="LevelToMatch" value="DEBUG" />
      <param name="AcceptOnMatch" value="false" />
    </filter>
    </appender>


    <appender name="FILE" class="org.apache.log4j.RollingFileAppender">
        <param name="File" value="hlm_debug.log"/>
        <param name="MaxFileSize" value="1024KB"/>
        <param name="append" value="true"/>
        <layout class="org.apache.log4j.PatternLayout">
               <param name="ConversionPattern" 
                            value="%d{HH:mm:ss,SSS}  %-2p - %m  %n"/>
        </layout>
    <filter class="org.apache.log4j.varia.LevelMatchFilter">
      <param name="LevelToMatch" value="DEBUG" />
      <param name="AcceptOnMatch" value="true" />
    </filter>

    <filter class="org.apache.log4j.varia.DenyAllFilter"/>

    </appender>

  <logger name="com.nokia" additivity="false">
      <level value="DEBUG" />
    <appender-ref ref="ASYNC" />
  </logger>

    <root>
        <priority value="DEBUG"/>
        <appender-ref ref="CONSOLE"/>
    </root>
</log4j:configuration>
