Skip to content

Consider logrotate for redis logs when not sent to syslog #288

@life5ign

Description

@life5ign

Thanks, great project!

I'd like to separate my redis logs from syslog, since I monitor that with Loki, and the sheer volume of redis logs in syslog swamps out the other stuff I want to query. So, it would be useful to use a different log location (currently possible here), but it would need to be rotated.

Have you considered this as a feature, perhaps using another role for the purpose (EDIT: https://github.com/nickhammond/ansible-logrotate), or is there some feature in redis I don't know about that keeps the log file down to size? Does the current alternate log file grow to an unbounded size, risking bricking the system?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions