src/log4j.lcf
author Antonio Moreno <antonio.moreno@openbravo.com>
Thu, 12 Nov 2009 10:19:42 +0100
changeset 5600 9fa1f7044ea9
parent 2433 312945e12cac
child 5610 970d1db23ae3
permissions -rw-r--r--
[newupgrade] New window
juanpablo@523
     1
#*************************************************************************
juanpablo@523
     2
#* The contents of this file are subject to the Openbravo  Public  License
juanpablo@523
     3
#* Version  1.0  (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. 
juanpablo@523
    12
#* The Initial Developer of the Original Code is Openbravo SL 
juanpablo@523
    13
#* All portions are Copyright (C) 2001-2006 Openbravo SL 
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@5600
    20
log4j.rootCategory=INFO, A1, O1, O2
martin@2433
    21
martin@2433
    22
# Additional Appender used for apply modules or other cases
martin@2433
    23
log4j.appender.O1=org.openbravo.utils.OBLogAppender
martin@2433
    24
log4j.appender.O1.layout=org.apache.log4j.PatternLayout
martin@2433
    25
log4j.appender.O1.layout.ConversionPattern=%-4r [%t] %-5p %c - %m%n
martin@2433
    26
antonio@5600
    27
# Additional Appender used for Improved Upgrade Process
antonio@5600
    28
log4j.appender.O2=org.openbravo.utils.OBRebuildAppender
antonio@5600
    29
juanpablo@378
    30
# A1 is set to be a ConsoleAppender. 
juanpablo@378
    31
log4j.appender.A1=org.apache.log4j.ConsoleAppender
juanpablo@378
    32
  
juanpablo@378
    33
# A1 uses PatternLayout.
juanpablo@378
    34
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
juanpablo@378
    35
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c - %m%n
juanpablo@378
    36
juanpablo@378
    37
log4j.category.org.openbravo.data.Sqlc=INFO
asier@1929
    38
log4j.category.org.openbravo.translate.Translate=INFO
juanpablo@378
    39
log4j.category.org.openbravo.wad=INFO
asier@870
    40
#log4j.category.org.openbravo.translate=INFO
martin@2433
    41
antonio@5600
    42
#log4j.category.org=WARN
martin@2433
    43
martin@2433
    44
#****************************************************
martin@2433
    45
#Part added for hibernate
martin@2433
    46
#****************************************************
antonio@5600
    47
log4j.logger.org.hibernate=WARN
martin@2433
    48
martin@2433
    49
### log HQL query parser activity 
martin@2433
    50
#log4j.logger.org.hibernate.hql.ast.AST=error
martin@2433
    51
martin@2433
    52
### log just the SQL
martin@2433
    53
log4j.logger.org.hibernate.SQL=error
martin@2433
    54
martin@2433
    55
### log JDBC bind parameters ###
martin@2433
    56
log4j.logger.org.hibernate.type=error
martin@2433
    57
martin@2433
    58
### log schema export/update ###
martin@2433
    59
log4j.logger.org.hibernate.tool.hbm2ddl=error
martin@2433
    60
martin@2433
    61
### log HQL parse trees
martin@2433
    62
log4j.logger.org.hibernate.hql=error
martin@2433
    63
martin@2433
    64
### log cache activity ###
martin@2433
    65
log4j.logger.org.hibernate.cache=error
martin@2433
    66
martin@2433
    67
### log transaction activity
martin@2433
    68
log4j.logger.org.hibernate.transaction=error
martin@2433
    69
martin@2433
    70
### log JDBC resource acquisition
martin@2433
    71
log4j.logger.org.hibernate.jdbc=error
martin@2433
    72