src/log4j.lcf
author Augusto Mauch <augusto.mauch@openbravo.com>
Tue, 18 Mar 2014 17:23:09 +0100
changeset 22729 05acae86769b
parent 9085 79e55dfc8af0
permissions -rw-r--r--
Fixes issue 25558: Fixes callout of manual forms

The code that applies the response of the manual forms callout was taking for granted that there one only one frame called appFrame. This was true in Openbravo 2.50, but in Openbravo 3.0 many manual windows can be opened at the same time, so there may be several frames called appFrame in one given moment.

This has been fixed by storing the active manual frame (the one whose tab is focused), and using that frame when applying the response of the callout.
#*************************************************************************
#* The contents of this file are subject to the Openbravo  Public  License
#* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
#* Version 1.1  with a permitted attribution clause; you may not  use this
#* file except in compliance with the License. You  may  obtain  a copy of
#* the License at http://www.openbravo.com/legal/license.html 
#* Software distributed under the License  is  distributed  on  an "AS IS"
#* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
#* License for the specific  language  governing  rights  and  limitations
#* under the License. 
#* The Original Code is Openbravo ERP. 
#* The Initial Developer of the Original Code is Openbravo SLU 
#* All portions are Copyright (C) 2001-2006 Openbravo SLU 
#* All Rights Reserved. 
#* Contributor(s):  ______________________________________.
#************************************************************************

# File is used by ApplyModule and other ant tasks

log4j.rootCategory=INFO, A1, O2

# Additional Appender used for Improved Upgrade Process
log4j.appender.O2=org.openbravo.utils.OBRebuildAppender

# A1 is set to be a ConsoleAppender. 
log4j.appender.A1=org.apache.log4j.ConsoleAppender
  
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c - %m%n

log4j.category.org.openbravo.data.Sqlc=INFO
log4j.category.org.openbravo.translate.Translate=INFO
log4j.category.org.openbravo.wad=INFO
#log4j.category.org.openbravo.translate=INFO

log4j.category.org=WARN

#****************************************************
#Part added for hibernate
#****************************************************
log4j.logger.org.hibernate=error

### log HQL query parser activity 
#log4j.logger.org.hibernate.hql.ast.AST=error

### log just the SQL
log4j.logger.org.hibernate.SQL=error

### log JDBC bind parameters ###
log4j.logger.org.hibernate.type=error

### log schema export/update ###
log4j.logger.org.hibernate.tool.hbm2ddl=error

### log HQL parse trees
log4j.logger.org.hibernate.hql=error

### log cache activity ###
log4j.logger.org.hibernate.cache=error

### log transaction activity
log4j.logger.org.hibernate.transaction=error

### log JDBC resource acquisition
log4j.logger.org.hibernate.jdbc=error