I have a log file at /var/splunk/journald
journal logs are converted into text and directed to this file.
I defined log rotation policy for this file at /etc/logrotate.d/journalLogs.conf
/var/splunk/journald {
daily
rotate 3
size 10M
compress
delaycompress
}
Current size of this log file is
On executing logrotate -d /etc/logrotate.d/journalLogs.conf; output is
I have a log file at /var/splunk/journald journal logs are converted into text and directed to this file.
I defined log rotation policy for this file at /etc/logrotate.d/journalLogs.conf /var/splunk/journald { daily rotate 3 size 10M compress delaycompress }
Current size of this log file is
On executing logrotate -d /etc/logrotate.d/journalLogs.conf; output is
but, ls -al /var/splunk returns
Where are the rotated log files???