NCL Community Forum Index
  Home   Login   Register   Help   Memberlist   Search   NCL  

NCL Community Forum Index » Provato Support » Configuring Log4J on BEA Weblogic 8.1
Post new topic  Reply to topic View previous topic :: View next topic 
Configuring Log4J on BEA Weblogic 8.1
PostPosted: Mon Feb 23, 2009 6:02 pm Reply with quote
Administrator
Site Admin
Joined: 11 Aug 2004
Posts: 237




Provato uses Log4J to write debug and event logging.

Log4j uses the concept of 'appenders', objects to which it will append logging information.

Provato creates 2 appenders in code. The first is a HTML log file appender, where error, warnings and informative events are logged in a HTML style log which can be previewed in a browser. The second is a text log file appender into which the same is written without the HTML formatting. With this second appender, debug events can be enabled or disabled through the Provato Console (System->Logging).

Both the HTML and the Text log file appenders have a limit of 500K on the file (after which it will rollover) and a backup of the last 10 log files.

Other appenders can be created using log4j configuration property files. These can be .XML or .properties (name/value pair) files. The configuration file should be in the classpath and the first configuration file found in the classpath is the one that is used. To find out more about log4J and configuring it, see the Apache Log4J website.

Console Logging - 3rd appender configured in log4j file

By default, console logging is turned on with the Provato WebLogic Adaptor. To turn of this logging comment out the lines in (or delete the file)
Code:
provato-adapter.ear\APP-INF\classes\log4j.properties
View user's profile Send private message

Configuring Log4J on BEA Weblogic 8.1
 NCL Community Forum Index » Provato Support
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic