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.
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