Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upLogs are not being rotated #2644
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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???