Home
EN
Location
Documentation Home
Palo Alto Networks
Support
Live Community
Knowledge Base
MENU
Home
Prisma
Prisma Cloud
Prisma Cloud Compute Edition Administrator’s Guide
Audit
Log rotation
Document:
Prisma Cloud Compute Edition Administrator’s Guide
Log rotation
Download PDF
Last Updated:
Mon May 09 08:40:00 PDT 2022
Current Version:
Self.Hosted 22.01
Version Prisma Cloud Enterprise Edition
Version Self-Hosted 22.01
Version Self-Hosted 21.08
Version Self-Hosted 21.04
Version Self-Hosted 20.12 (EoL)
Version Self-Hosted 20.09 (EoL)
Version Self-Hosted 20.04 (EoL)
Version Self-Hosted 19.11 (EoL)
Previous
Next
Log rotation
Edit on GitHub
Both Console and Defender call
log-rotate
every 30 minutes. The options passed to log-rotate are described below.
Defender
The default path for Defender’s log file is
/var/lib/twistlock/log/defender.log
.
It is configured as follows:
Truncate the original log file in place after creating a copy, instead of moving the old log file. (
copytruncate
)
Have 10 backup files rotated. If rotation exceeds 10 files, the oldest rotated file is deleted. (
rotate 10
)
Don’t generate an error in case a log file doesn’t exist. (
missingok
)
Don’t rotate the log in case it’s empty. (
notifempty
)
Rotate the log only if its size is 100M or more. (
size 100M
)
Compress the rotated logs. (
compress
)
Console
The default path for Console’s log file is
/var/lib/twistlock/log/console.log
. It is configured as follows:
Truncate the original log file in place after creating a copy, instead of moving the old log file. (
copytruncate
)
Have 10 backup files rotated. If rotation exceeds 10 files, the oldest rotated file is deleted. (
rotate 10
)
Don’t generate an error in case a log file doesn’t exist. (
missingok
)
Don’t rotate the log in case it’s empty. (
notifempty
)
Rotate the log only if its size is 100M or more. (
size 100M
)
Compress the rotated logs. (
compress
)
DB logs
We log CRITICAL/ERROR messages to enable critical DB diagnostics.
This is automatically done by Prisma Cloud and is non-configurable.
Previous
Next
Recommended For You
Recommended Videos
Recommended videos not found.