Skip to content

Add more rolling file intervals #224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from

Conversation

tkrafael
Copy link

This PR will allow users to using following rolling intervals:

  • Week: Added Week to the RollingInterval enum. #182
  • Minute
  • Five Minutes
  • Ten Minutes
  • Quarter Hour
  • Half Hour
    This will allow scenarios where this library can be used in scenarios other then logging (CDR generation, for example) and load those files when this period has passed.

Current intervals are either too sparse (hourly) or too granular (minutely) for this kind of scenario.

camerontbelt and others added 5 commits October 12, 2020 16:53
@nblumhardt
Copy link
Member

Hi! Thanks for the PR. When using Week, if I run my app today, shut it down, and then start it up again "tomorrow", won't I end up with a new file using these changes? (Think this was also the case for #182 (comment) ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants