-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
can add trigger kind "time" in rolling_file #235
Comments
or every hour or every day, i support for this feature request |
Is this possible . I would be happy to work and contribute to this . |
had a bit dig into the issue, i guess it is most probably make another copy of https://github.com/estk/log4rs/blob/master/src/append/rolling_file/policy/compound/roll/fixed_window.rs and change only the function on determining whether to roll and the roll name. just i dont have time for this at the moment, glad if you can help 😂😂 |
I had a quick look at the file naming. From the initial look we are renaming all the files that are present in the archive . I am sure you would have thought about a better mechanism of modifying only the last file. Any thoughts on that |
👍 |
@alwinc you may want to look at the background_rotation compile flag. |
need kind "time" |
Time trigger added in #296 |
like generate a new log file every minute
The text was updated successfully, but these errors were encountered: