src/log4j.lcf
author Priya Muthukumar <priya.muthukumar@openbravo.com>
Thu, 09 Dec 2010 09:43:14 +0100
changeset 9085 79e55dfc8af0
parent 6702 690d2af86089
permissions -rw-r--r--
Change Openbravo Public License Version 1.0 to Openbravo Public License Version 1.1
juanpablo@523
     1
#*************************************************************************
juanpablo@523
     2
#* The contents of this file are subject to the Openbravo  Public  License
priya@9085
     3
#* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
juanpablo@523
     4
#* Version 1.1  with a permitted attribution clause; you may not  use this
juanpablo@523
     5
#* file except in compliance with the License. You  may  obtain  a copy of
juanpablo@523
     6
#* the License at http://www.openbravo.com/legal/license.html 
juanpablo@523
     7
#* Software distributed under the License  is  distributed  on  an "AS IS"
juanpablo@523
     8
#* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
juanpablo@523
     9
#* License for the specific  language  governing  rights  and  limitations
juanpablo@523
    10
#* under the License. 
juanpablo@523
    11
#* The Original Code is Openbravo ERP. 
ggi@6702
    12
#* The Initial Developer of the Original Code is Openbravo SLU 
ggi@6702
    13
#* All portions are Copyright (C) 2001-2006 Openbravo SLU 
juanpablo@523
    14
#* All Rights Reserved. 
juanpablo@523
    15
#* Contributor(s):  ______________________________________.
juanpablo@523
    16
#************************************************************************
juanpablo@523
    17
martin@2433
    18
# File is used by ApplyModule and other ant tasks
martin@2433
    19
antonio@5615
    20
log4j.rootCategory=INFO, A1, O2
martin@2433
    21
antonio@5600
    22
# Additional Appender used for Improved Upgrade Process
antonio@5600
    23
log4j.appender.O2=org.openbravo.utils.OBRebuildAppender
antonio@5600
    24
juanpablo@378
    25
# A1 is set to be a ConsoleAppender. 
juanpablo@378
    26
log4j.appender.A1=org.apache.log4j.ConsoleAppender
juanpablo@378
    27
  
juanpablo@378
    28
# A1 uses PatternLayout.
juanpablo@378
    29
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
juanpablo@378
    30
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c - %m%n
juanpablo@378
    31
juanpablo@378
    32
log4j.category.org.openbravo.data.Sqlc=INFO
asier@1929
    33
log4j.category.org.openbravo.translate.Translate=INFO
juanpablo@378
    34
log4j.category.org.openbravo.wad=INFO
asier@870
    35
#log4j.category.org.openbravo.translate=INFO
martin@2433
    36
antonio@5610
    37
log4j.category.org=WARN
martin@2433
    38
martin@2433
    39
#****************************************************
martin@2433
    40
#Part added for hibernate
martin@2433
    41
#****************************************************
antonio@5610
    42
log4j.logger.org.hibernate=error
martin@2433
    43
martin@2433
    44
### log HQL query parser activity 
martin@2433
    45
#log4j.logger.org.hibernate.hql.ast.AST=error
martin@2433
    46
martin@2433
    47
### log just the SQL
martin@2433
    48
log4j.logger.org.hibernate.SQL=error
martin@2433
    49
martin@2433
    50
### log JDBC bind parameters ###
martin@2433
    51
log4j.logger.org.hibernate.type=error
martin@2433
    52
martin@2433
    53
### log schema export/update ###
martin@2433
    54
log4j.logger.org.hibernate.tool.hbm2ddl=error
martin@2433
    55
martin@2433
    56
### log HQL parse trees
martin@2433
    57
log4j.logger.org.hibernate.hql=error
martin@2433
    58
martin@2433
    59
### log cache activity ###
martin@2433
    60
log4j.logger.org.hibernate.cache=error
martin@2433
    61
martin@2433
    62
### log transaction activity
martin@2433
    63
log4j.logger.org.hibernate.transaction=error
martin@2433
    64
martin@2433
    65
### log JDBC resource acquisition
martin@2433
    66
log4j.logger.org.hibernate.jdbc=error
martin@2433
    67