We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
"create" in logrotate.conf is fixed
ansible-role-logrotate/templates/logrotate.conf.j2
Line 15 in cda1301
create: false
logrotate_entries: - name: remote-linux-syslog path: "/var/log/linux_syslog/*/message" frequency: weekly compress: true create: false keep: 48 dateext: yes missingok: true sharedscripts: true postrotate: "/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true"
if one log file is empty, logrotate will pack an empty file again and again like this:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
"create" in logrotate.conf is fixed
ansible-role-logrotate/templates/logrotate.conf.j2
Line 15 in cda1301
set
create: false
in entry conf will not change the global configif one log file is empty, logrotate will pack an empty file again and again
![image](https://private-user-images.githubusercontent.com/34000092/397191784-6c1ed3eb-4267-4fe9-9b50-19e3754abe09.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MDc3MDgsIm5iZiI6MTczODkwNzQwOCwicGF0aCI6Ii8zNDAwMDA5Mi8zOTcxOTE3ODQtNmMxZWQzZWItNDI2Ny00ZmU5LTliNTAtMTllMzc1NGFiZTA5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDA1NTAwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEwNjg0YTc5YmQ1NWQ0YTc0NTljY2IzNzQ4OTdmOWI2MThjZjU4MDIxZDgwY2MyZDFlZGNiZTNlZGIzYmNhYTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.b29hLhg8_3J2NR42d6XkmoZoYPT-c2ItGkgagkkpmsc)
like this:
The text was updated successfully, but these errors were encountered: