bugs icon indicating copy to clipboard operation
bugs copied to clipboard

Logs are not being rotated

Open alpana17 opened this issue 4 years ago • 0 comments

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 image

On executing logrotate -d /etc/logrotate.d/journalLogs.conf; output is image

but, ls -al /var/splunk returns image

Where are the rotated log files???

alpana17 avatar Dec 02 '19 07:12 alpana17