buildframework/helium/config/logging.conf.ftl
changeset 1 be27ed110b50
equal deleted inserted replaced
0:044383f39525 1:be27ed110b50
       
     1 <#--
       
     2 ============================================================================ 
       
     3 Name        : logging.conf.ftl 
       
     4 Part of     : Helium 
       
     5 
       
     6 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     7 All rights reserved.
       
     8 This component and the accompanying materials are made available
       
     9 under the terms of the License "Eclipse Public License v1.0"
       
    10 which accompanies this distribution, and is available
       
    11 at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    12 
       
    13 Initial Contributors:
       
    14 Nokia Corporation - initial contribution.
       
    15 
       
    16 Contributors:
       
    17 
       
    18 Description:
       
    19 
       
    20 ============================================================================
       
    21 --> 
       
    22 [formatters]
       
    23 keys: simple,detailed
       
    24  
       
    25 [handlers]
       
    26 keys: console,syslog
       
    27  
       
    28 [loggers]
       
    29 keys: root,dp
       
    30  
       
    31 [formatter_simple]
       
    32 format: %(levelname)s:%(name)s:%(message)s
       
    33 
       
    34 [formatter_detailed]
       
    35 format: %(levelname)s:%(name)s: %(module)s:%(lineno)d: %(message)s
       
    36 
       
    37 [handler_console]
       
    38 class: StreamHandler
       
    39 args: []
       
    40 formatter: simple
       
    41 
       
    42 [handler_syslog]
       
    43 class: handlers.SysLogHandler
       
    44 args: [('myhost.mycorp.net', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER]
       
    45 formatter: detailed
       
    46 
       
    47 [logger_root]
       
    48 level: INFO
       
    49 handlers: syslog
       
    50 
       
    51 [logger_dp]
       
    52 <#if ant?keys?seq_contains("dp.debug") || ant?keys?seq_contains("debug")>
       
    53 level: DEBUG
       
    54 <#else>
       
    55 level: INFO
       
    56 </#if>
       
    57 handlers: console
       
    58 qualname: dp