Customers
User information
 Loading ...
Show article in Knowledge Base

 How do I increase the logging/debug level in the log files? Export knowledge base Export     SubscribeSubscribe      Show article info

Sometimes it is useful to increase the logging level in VisionProject  to make the application to output more information into the log files.

 

To  do this follow these steps:

  • Open the file WEB-INF/classes/log4j.properties in a text editor
  • Search and replace the WARN or ERROR values for the properties below to DEBUG (Remember to keep the A1, A2 values)
    • Change from:
      • log4j.rootLogger=WARN,A1
      • log4j.logger.se.visionera=WARN,A2
      • log4j.logger.org.apache.commons=WARN
      • log4j.logger.org.apache.struts=WARN
      • Etc
    • Change to:
      • log4j.rootLogger=DEBUG,A1
      • log4j.logger.se.visionera=DEBUG,A2
      • log4j.logger.org.apache.commons=DEBUG
      • log4j.logger.org.apache.struts=DEBUG
      • Etc
  • Save the file
  • Stop the Tomcat (web server) and restart it again
  • After the restart more logging info will be available in the log  files

 

 

NOTE!! Remember to keep the A1 and A2 values after the DEBUG String


User comments
 Loading ...