Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs are not being rotated #2644

Open
alpana17 opened this issue Dec 2, 2019 · 0 comments

Comments

@alpana17
Copy link

@alpana17 alpana17 commented Dec 2, 2019

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???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.