Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • logrotate compress issue

    Posted on

    Hi ,

    I've been fighting a lot with this problem and no good results.

    I want logrotate to compress all the logs coming from devices,but

    logrotate rotates but doesn't compress log messages

    This issue started happening from last few days

    Do you know what is causing this issue?

    I attached my logrotate.conf

    /var/log/remotelog//.log {
    daily
    dateext
    rotate 90
    copytruncate
    missingok
    compress
    notifempty
    create 640 root root
    sharedscripts
    postrotate
    find /var/log/remotelog -type f -mtime +91 -delete
    /bin/systemctl restart syslog-ng >/dev/null 2>&1 || true
    endscript
    }

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat