Skip to content

Log File Rotation #12622

@ARizzo35

Description

@ARizzo35

Is your feature request related to a problem? Please describe.

When using a FileSink, the log file can grow unbounded until the disk is full. There is currently no way to manage this.

Describe the solution you'd like

Ideally, a setting could be provided for max file size and the data within the file could be rotated similar to how the server memory limit rotates available data sent to new subscribers. At the very least, having a max file size setting which prevented continually growing the file would help prevent filling up the disk on the system.

Describe alternatives you've considered

Another approach is to manage this outside of rerun, but I'm not sure how the file headers would get handled if the file is rotated manually.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsdk-rustRust logging API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions