Skip to main content
Contributor
September 29, 2016

Technical Note: [Accelops KB] How to Enable/Disable Debug logs

  • September 29, 2016
  • 0 replies
  • 3185 views
Description

Summary of Topic

This article is to provide users information on how to enable debug logging

::NOTE:: Restart the process you want to debug (eg. phPerfMonitor, java, etc etc)

 

Steps

  1. Log into AO with the root user
  2. cd /opt/phoenix/config
  3. App Server:
    1. vi log4j.properties
    2. log4j.logger.com.ph.phoenix=INFO  >>  log4j.logger.com.ph.phoenix=DEBUG
      1. NOTE: To disable debugging, revert DEBUG to INFO
  4. Backend Server:
    1. vi phoenix_config.txt
    2. DEFAULT_LOG_LEVEL=INFO #ERROR, DEBUG, INFO >> DEFAULT_LOG_LEVEL=DEBUG #ERROR, DEBUG, INFO
    3. OR to enable debug: phtools --change-log ALL DEBUG
    4. To disable debug: phtools --change-log ALL INFO
  5. Press the following keys to quit and write to the files:
    1. [ESC] , [:] , [w] , [q], [ENTER]

 

Additional Information

These steps will enable debug logging on your AO-VA,  This is very useful to determine what internal processes might have caused an error on your appliance.

Also many times AO support will request this to be enabled so that we can find more detailed information to provide users a resolution

::NOTE:: Because debug logging can be extensive, we do not recommend this to be turned on all the time, please only use this option when necessary

 

Version Application

All