-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Is it possible to have date/time in log file name. #242
Comments
I am also looking for the solution, did you figure our any solution. |
@madelaney this is not currently possible. I would be happy to mentor you if you would like to develop the feature. |
Hi @estk ! I can pick this up under your mentorship. |
Any updates on this? |
Can anyone complete this function? |
@estk Updates? |
I Switched to tracing. https://github.com/financrr/financrr-app/blob/main/backend/backend/src/config/logger.rs It's still not the bested (especially compared to logback what I use in all my Java projects) but it's good enough. |
I'd definitely need this feature too. Would be gladly appreciated. |
I have a workaround for that at: https://github.com/TuEmb/log4rs The format will be the same as chrono::datetime
run example: |
I was wondering if it was possible, when using a YAML configuration, to have the date/time inserted as the file name when configuring a
file
appender?here is an example, where
{d}
would be a place holder for the datetime:/shrug
The text was updated successfully, but these errors were encountered: