Replies: 3 comments 1 reply
-
The file /etc/logrotate.d/rabbitmq-server is not even being modified by chef then what is being modified as I checked in my nodes after running the upstream default config the modified date stays the same. |
Beta Was this translation helpful? Give feedback.
-
I would guess that you are hitting #550 |
Beta Was this translation helpful? Give feedback.
-
So there's basically no way to manage logs via upstream cookbook configuration for newer rabbitmq versions as logging levels do not work and new attributes for the built in log rotation have not been implemented such as keeping logs by file-size such as |
Beta Was this translation helpful? Give feedback.
-
I've tried changing the default attributes for logrotate in my recipe or the attributes
But to avail success logrotate is still set as default in my test environment, we're including the default recipe from upstream.
Other attributes such as log_level work fine.
/etc/logrotate.conf
/etc/logrotate.d/rabbitmq-server
/var/log/rabbitmq/*.log { weekly missingok rotate 20 compress notifempty }
Beta Was this translation helpful? Give feedback.
All reactions