log4j.lcf
author Asier Lostalé <asier.lostale@openbravo.com>
Fri, 04 Aug 2017 10:11:28 +0200
changeset 32535 b74ed74f842a
parent 5808 fd6f3ff0d871
permissions -rw-r--r--
fixed 36601: unneeded flush with no entities on every fetch

Fix includes:
- Do not flush on fetch just after clearing session as it is noop
- Being action an enum can be directly compared without need of getting its name
# Set root category priority to DEBUG and its only appender to A1.
log4j.rootCategory=WARN, A1
  
# 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.wad=DEBUG