config/log4j2.xml.template
author Stefan Hühner <stefan.huehner@openbravo.com
Fri, 12 Apr 2019 08:02:03 +0200
changeset 35689 435585a9485d
parent 35029 dcb3ab745692
permissions -rw-r--r--
fixes 40598: do not use generics with Object, use instead knwon type
javier@34974
     1
<?xml version="1.0" encoding="UTF-8"?>
javier@35008
     2
<!--
javier@35008
     3
 *************************************************************************
javier@35008
     4
 * The contents of this file are subject to the Openbravo  Public  License
javier@35008
     5
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
javier@35008
     6
 * Version 1.1  with a permitted attribution clause; you may not  use this
javier@35008
     7
 * file except in compliance with the License. You  may  obtain  a copy of
javier@35008
     8
 * the License at http://www.openbravo.com/legal/license.html
javier@35008
     9
 * Software distributed under the License  is  distributed  on  an "AS IS"
javier@35008
    10
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
javier@35008
    11
 * License for the specific  language  governing  rights  and  limitations
javier@35008
    12
 * under the License.
javier@35008
    13
 * The Original Code is Openbravo ERP.
javier@35008
    14
 * The Initial Developer of the Original Code is Openbravo SLU
javier@35008
    15
 * All portions are Copyright (C) 2018 Openbravo SLU
javier@35008
    16
 * All Rights Reserved.
javier@35008
    17
 * Contributor(s):  ______________________________________.
javier@35008
    18
 ************************************************************************
javier@35008
    19
-->
javier@35022
    20
<!-- Logger configuration used in all build tasks -->
javier@35022
    21
<!-- Note that this config is also used in rebuild tasks executed from the Module Management window in the backoffice -->
javier@35022
    22
<Configuration packages="org.openbravo.utils">
javier@34974
    23
  <Loggers>
javier@35022
    24
    <Root level="info">
javier@34974
    25
      <AppenderRef ref="Console"/>
javier@35022
    26
javier@34986
    27
      <!-- OBRebuildAppender is required for rebuilding from the GUI -->
javier@34986
    28
      <AppenderRef ref="OBRebuildAppender"/>
javier@34974
    29
    </Root>
javier@35006
    30
javier@34986
    31
    <Logger name="org.hibernate" level="error"/>
javier@35006
    32
javier@34986
    33
    <Logger name="reloadXml" level="error"/>
javier@35022
    34
javier@35022
    35
    <!-- To debug a specific class/package: -->
javier@35022
    36
    <!-- <Logger name="org.openbravo.erpCommon.modules.ApplyModuleTask" level="debug"/> -->
javier@34974
    37
  </Loggers>
javier@35022
    38
javier@35006
    39
  <Appenders>
javier@35006
    40
    <Console name="Console" target="SYSTEM_OUT">
javier@35029
    41
      <PatternLayout pattern="%-5r [%t] %-5p %c - %m%n"/>
javier@35006
    42
    </Console>
javier@35006
    43
javier@35006
    44
    <OBRebuildAppender name="OBRebuildAppender"/>
javier@35006
    45
  </Appenders>
javier@35018
    46
</Configuration>