Navigate to the AAI installation directory (default is /opt/Automation_Analytics_Intelligence).
Open jaws.sh.vmoptions in a text editor.
Locate the GC logging section at the bottom of the file.
Remove or comment out the line: -Xlog:gc=off.
Update the logging string to use the absolute path to the AAI directory.
Correct Configuration Example:
# Remove or comment out the 'off' flag to prevent conflicts# -Xlog:gc=off
# Enable logging using an absolute path-Xlog:gc*:file=/opt/Automation_Analytics_Intelligence/gc.log:time,uptime,level,tags:filecount=5,filesize=20M
Save the file and restart the AAI service for the changes to take effect.