If you encounter issues with integrating your API, enabling debug logs can help you to diagnose problems.
Follow these steps to enable debug logging:
-
Open the Administration Page
-
Navigate to Logging Settings
- Go to
Settings > General > Logging
. - This section contains the
Log file
path and theConfig file
path.
- Go to
-
Modify the Config File
- Locate and open the
Config file
. - Add the following line:
log4j.category.com.oxygenxml.rest.plugin=debug
- This line enables debug logs for the REST API.
- Locate and open the
-
Save and Restart
- Save the changes made in the
Config file
. - Restart the server to apply these changes.
- Save the changes made in the
-
View the Logs
- To view the generated logs, open the
Log file
.
- To view the generated logs, open the
🚨 Disable Debug Logs After Debugging: To maintain optimal performance and prevent unnecessary log file growth, remember to remove the debug line from the Config file
after you've finished debugging.