log4j.lcf
author Asier Lostalé <asier.lostale@openbravo.com>
Mon, 19 Jun 2017 15:16:26 +0200
changeset 32244 443c3cdbf841
parent 5808 fd6f3ff0d871
permissions -rw-r--r--
fixed bug 36274: abandoned connection in SessionListener

Detach connection from current thread to allow it to be properly returned
to pool.

This is required whever the thread doing the actio is not handling an standard
request.
juanpablo@378
     1
# Set root category priority to DEBUG and its only appender to A1.
juanpablo@378
     2
log4j.rootCategory=WARN, A1
juanpablo@378
     3
  
juanpablo@378
     4
# A1 is set to be a ConsoleAppender. 
juanpablo@378
     5
log4j.appender.A1=org.apache.log4j.ConsoleAppender
juanpablo@378
     6
  
juanpablo@378
     7
# A1 uses PatternLayout.
juanpablo@378
     8
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
juanpablo@378
     9
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c - %m%n
juanpablo@378
    10
asier@683
    11
log4j.category.org.openbravo.wad=DEBUG