Prisma Cloud Compute Console Log Retention
491
Created On 05/27/22 20:50 PM - Last Modified 07/16/25 18:30 PM
Symptom
Unable to locate old console logs in the downloaded log file.
Environment
- Prisma Cloud Compute Self-Hosted
- Console logs
Cause
- If the current
console.logfile is over 100Mb, the rotation will start a new file and save the old ones up to 10 files in compressed form as console.log.1.gz, console.log.2.gz, console.log.n.gz in the following directory:
/var/lib/twistlock/log/
- Download this log option only downloads the current log file.
Resolution
- Prisma Cloud Compute Self-Hosted: The old rotated logs are still under the same path /var/lib/twistlock/log , but one needs to copy them from the console container manually