config/log4j.lcf.template
author Antonio Moreno <antonio.moreno@openbravo.com>
Thu, 26 Apr 2012 17:29:26 +0200
changeset 16512 46f6c549a415
parent 12818 3d195dab015c
child 20298 b580f0596d0e
permissions -rw-r--r--
Fixed issue 20352. Do not remove an invalid value from the selector.
Reverted change done in changeset bcbda0ffe5d8. This change was causing the following behaviour to happen:
- When a field is used as part of a displaylogic of a different field, a redraw of the window will be done in case the selector value happens.
- This redraw will cause a call to the mapValueToDisplay method.
- If the user is typing the name of the business partner, the value will not be one of the valid business partner names (yet).
- With the previous version of the method, the value was then discarded. This produced the very annoying effect of reverting what the user had typed just after he had done it, if he hadn't been 'fast enough' to type the whole identifier of the business partner.
With the change done, the selector will not be cleared if a user types a (not yet completely correct) value in the selector, even if there is a valueMap which doesn't contain what the user has typed.
The issue which was supposedly fixed with this part of the mentioned changeset (issue 19724) still works fine as far as I can tell, even after having removed this part of the change.
juanpablo@538
     1
# *************************************************************************
juanpablo@538
     2
# * The contents of this file are subject to the Openbravo  Public  License
priya@9072
     3
# * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
juanpablo@538
     4
# * Version 1.1  with a permitted attribution clause; you may not  use this
juanpablo@538
     5
# * file except in compliance with the License. You  may  obtain  a copy of
juanpablo@538
     6
# * the License at http://www.openbravo.com/legal/license.html 
juanpablo@538
     7
# * Software distributed under the License  is  distributed  on  an "AS IS"
juanpablo@538
     8
# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
juanpablo@538
     9
# * License for the specific  language  governing  rights  and  limitations
juanpablo@538
    10
# * under the License. 
juanpablo@538
    11
# * The Original Code is Openbravo ERP. 
ggi@6701
    12
# * The Initial Developer of the Original Code is Openbravo SLU
ggi@6701
    13
# * All portions are Copyright (C) 2007-2009 Openbravo SLU
juanpablo@538
    14
# * All Rights Reserved. 
juanpablo@538
    15
# * Contributor(s):  ______________________________________.
juanpablo@538
    16
# ************************************************************************
juanpablo@538
    17
juanpablo@4822
    18
# to enable logging in i.e. eclipse console add ", C" to the line below
antonio@5612
    19
log4j.rootCategory=INFO, R
martin@2432
    20
martin@2432
    21
# Set our global levels
martin@2432
    22
log4j.category.org=WARN
martin@2432
    23
log4j.category.org.openbravo=INFO
martin@2432
    24
juanpablo@538
    25
log4j.appender.R=org.apache.log4j.RollingFileAppender
juanpablo@539
    26
log4j.appender.R.File=${catalina.base}/logs/openbravo.log
juanpablo@538
    27
log4j.appender.R.MaxFileSize=10000KB
juanpablo@538
    28
juanpablo@538
    29
# R uses PatternLayout.
juanpablo@538
    30
log4j.appender.R.layout=org.apache.log4j.PatternLayout
stefan@12818
    31
log4j.appender.R.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c - %m%n
juanpablo@538
    32
juanpablo@538
    33
# Keep one backup file
juanpablo@538
    34
log4j.appender.R.MaxBackupIndex=1
juanpablo@538
    35
juanpablo@4822
    36
# C is an optional ConsoleAppender for usage in i.e. Eclipse
juanpablo@4822
    37
log4j.appender.C=org.apache.log4j.ConsoleAppender
juanpablo@4822
    38
log4j.appender.C.layout=org.apache.log4j.PatternLayout
juanpablo@4822
    39
log4j.appender.C.layout.ConversionPattern=%-4r [%t] %-5p %c - %m%n
juanpablo@4822
    40
juanpablo@538
    41
log4j.category.reloadXml=ERROR
juanpablo@538
    42
juanpablo@538
    43
# To debug an specific class
juanpablo@538
    44
#log4j.category.org.openbravo.erpCommon.ad_process=DEBUG
ivan@1738
    45
ivan@1738
    46
#****************************************************
ivan@1738
    47
# Hibernate
ivan@1738
    48
#****************************************************
ivan@1738
    49
log4j.appender.HB=org.apache.log4j.RollingFileAppender
ivan@1738
    50
log4j.appender.HB.File=${catalina.base}/logs/openbravo_hibernate.log
ivan@1738
    51
log4j.appender.HB.MaxFileSize=10000KB
ivan@1738
    52
ivan@1738
    53
# R uses PatternLayout.
ivan@1738
    54
log4j.appender.HB.layout=org.apache.log4j.PatternLayout
stefan@12818
    55
log4j.appender.HB.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c - %m%n
ivan@1738
    56
ivan@1738
    57
# Keep one backup file
ivan@1738
    58
log4j.appender.HB.MaxBackupIndex=1
ivan@1738
    59
ivan@1738
    60
log4j.logger.org.hibernate=error, HB
ivan@1738
    61
ivan@1738
    62
### log HQL query parser activity
ivan@1738
    63
#log4j.logger.org.hibernate.hql.ast.AST=error, HB
ivan@1738
    64
ivan@1738
    65
### log just the SQL
ivan@1738
    66
log4j.logger.org.hibernate.SQL=error, HB
ivan@1738
    67
ivan@1738
    68
### log JDBC bind parameters ###
ivan@1738
    69
log4j.logger.org.hibernate.type=error, HB
ivan@1738
    70
ivan@1738
    71
### log schema export/update ###
ivan@1738
    72
log4j.logger.org.hibernate.tool.hbm2ddl=error, HB
ivan@1738
    73
ivan@1738
    74
### log HQL parse trees
ivan@1738
    75
log4j.logger.org.hibernate.hql=error, HB
ivan@1738
    76
ivan@1738
    77
### log cache activity ###
ivan@1738
    78
log4j.logger.org.hibernate.cache=error, HB
ivan@1738
    79
ivan@1738
    80
### log transaction activity
ivan@1738
    81
log4j.logger.org.hibernate.transaction=error, HB
ivan@1738
    82
ivan@1738
    83
### log JDBC resource acquisition
ivan@1738
    84
log4j.logger.org.hibernate.jdbc=error, HB