Technical Note: [Accelops KB] How to Enable/Disable Debug logs
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
- Log into AO with the root user
- cd /opt/phoenix/config
- App Server:
- vi log4j.properties
- log4j.logger.com.ph.phoenix=INFO >> log4j.logger.com.ph.phoenix=DEBUG
- NOTE: To disable debugging, revert DEBUG to INFO
- Backend Server:
- vi phoenix_config.txt
- DEFAULT_LOG_LEVEL=INFO #ERROR, DEBUG, INFO >> DEFAULT_LOG_LEVEL=DEBUG #ERROR, DEBUG, INFO
- OR to enable debug: phtools --change-log ALL DEBUG
- To disable debug: phtools --change-log ALL INFO
- Press the following keys to quit and write to the files:
- [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