Skip to content

Fastlogger OOM's when setting log_backup_number to maxBound on logfile rotation #212

@jappeace

Description

@jappeace

Recently keter was moved over to fastlogger,
we set the LogFile limit conservatively to maxInt to make sure it doesn't lose information.

https://github.com/snoyberg/keter/blob/28ba9b538b9e3850922c5e59a8e3038425a11f9a/src/Keter/Logger.hs#L51

Now we got a bugreport that it crashes on any rotation.
snoyberg/keter#288

I'll work around this by setting it to 20.

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