Skip to content

Compress older logs after rotation #368

Open
@rgov

Description

@rgov

I was investigating the OpenRVDAS deployment on RV Odyssey and noticed that the disk was full with over 26 GB of log files. A quick gzip brought that down to 4 GB.

It would be nice if there were an option to compress log files once they're rotated out. Or keep n days of uncompressed logs and compress the older ones.

It's still very easy to use gzipped log files since there's the gzcat utility for shell pipelines and Python has the gzip module. You can configure web servers to pass gzipped files through with Content-Encoding: gzip such that the client decompresses them transparently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions