- Log into the Master node as root via SSH or Console.
-
Navigate to the following directory:
root@vrops [ ~ ]# cd /usr/lib/vmware-vcops/user/conf/collector/ - Once in the aforementioned directory open the following file using your preferred text editor: log4j.properties
-
With the
log4j.properties
file opened modify the following line:
Original Line: log4j.rootLogger=WARN, fileAppender Change to: log4j.rootLogger=DEBUG, fileAppender - Once the applicable line has been modified save and close the file. No services are required to be restarted in order for the logging to take effect.
- Wait ~ 5-10 minutes for the next collection cycle to kick off and reproduce the issue you are troubleshooting.
-
Once the issue is reproduced capture a Full Support Bundle (outlined below) and upload to Pure Storage for review.
Note:
Once the Full Support Bundle has been captured it is important to revert the log line to its original state to ensure there are no issues with logging or storage.