src/log4j.properties
author Asier Lostalé <asier.lostale@openbravo.com>
Wed, 12 Nov 2008 13:14:11 +0000
changeset 1929 ad0353d93b0f
child 3058 bcd4498c2376
permissions -rw-r--r--
Merge back modularity branch to trunk.

Due to svn problems it has been merged using patch after updating modularity
with trunk rev 9900. This means that the svn log info for the files modified
in modularity branch will not be available.
asier@1929
     1
# *************************************************************************
asier@1929
     2
# * The contents of this file are subject to the Openbravo  Public  License
asier@1929
     3
# * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
asier@1929
     4
# * Version 1.1  with a permitted attribution clause; you may not  use this
asier@1929
     5
# * file except in compliance with the License. You  may  obtain  a copy of
asier@1929
     6
# * the License at http://www.openbravo.com/legal/license.html 
asier@1929
     7
# * Software distributed under the License  is  distributed  on  an "AS IS"
asier@1929
     8
# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
asier@1929
     9
# * License for the specific  language  governing  rights  and  limitations
asier@1929
    10
# * under the License. 
asier@1929
    11
# * The Original Code is Openbravo ERP. 
asier@1929
    12
# * The Initial Developer of the Original Code is Openbravo SL 
asier@1929
    13
# * All portions are Copyright (C) 2007 Openbravo SL 
asier@1929
    14
# * All Rights Reserved. 
asier@1929
    15
# * Contributor(s):  ______________________________________.
asier@1929
    16
# ************************************************************************
asier@1929
    17
asier@1929
    18
log4j.rootCategory=WARN, A1
asier@1929
    19
log4j.appender.A1=org.apache.log4j.ConsoleAppender
asier@1929
    20
asier@1929
    21
# A1 uses PatternLayout.
asier@1929
    22
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
asier@1929
    23
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
asier@1929
    24
asier@1929
    25
log4j.category.reloadXml=ERROR
asier@1929
    26
log4j.category.org=WARN
asier@1929
    27
asier@1929
    28
# To debug an specific class
asier@1929
    29
#log4j.category.org.openbravo.erpCommon.ad_process=DEBUG
asier@1929
    30
asier@1929
    31
#****************************************************
asier@1929
    32
#Part added for hibernate
asier@1929
    33
#****************************************************
asier@1929
    34
log4j.logger.org.hibernate=error
asier@1929
    35
asier@1929
    36
### log HQL query parser activity 
asier@1929
    37
#log4j.logger.org.hibernate.hql.ast.AST=error
asier@1929
    38
asier@1929
    39
### log just the SQL
asier@1929
    40
log4j.logger.org.hibernate.SQL=error
asier@1929
    41
asier@1929
    42
### log JDBC bind parameters ###
asier@1929
    43
log4j.logger.org.hibernate.type=error
asier@1929
    44
asier@1929
    45
### log schema export/update ###
asier@1929
    46
log4j.logger.org.hibernate.tool.hbm2ddl=error
asier@1929
    47
asier@1929
    48
### log HQL parse trees
asier@1929
    49
log4j.logger.org.hibernate.hql=error
asier@1929
    50
asier@1929
    51
### log cache activity ###
asier@1929
    52
log4j.logger.org.hibernate.cache=error
asier@1929
    53
asier@1929
    54
### log transaction activity
asier@1929
    55
log4j.logger.org.hibernate.transaction=error
asier@1929
    56
asier@1929
    57
### log JDBC resource acquisition
asier@1929
    58
log4j.logger.org.hibernate.jdbc=error
asier@1929
    59