Skip to content

Feature request: Rollover at midnight #73

Description

@josmithua

Instead of rolling the log files 24hrs after they are created, I was wondering if we could have the option to cause rollover to happen at midnight. This would make it slightly easier to see when an event occurred in the log, i.e. if a client says "It happened on May 28", then I know I only have to look in one log file, instead of potentially 2 files.

I'm not sure if this is an option available to the underlying Android/iOS libraries, so not sure how much effort it would be.

The Python logging package has this feature: https://docs.python.org/3/library/logging.handlers.html#timedrotatingfilehandler

Cheers

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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