Skip to content
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

RollingFileAppender: prefix and suffix custom separator #3037

Open
LardyFlorian opened this issue Jul 18, 2024 · 0 comments
Open

RollingFileAppender: prefix and suffix custom separator #3037

LardyFlorian opened this issue Jul 18, 2024 · 0 comments

Comments

@LardyFlorian
Copy link

Feature Request

Crates

tracing_appender

Motivation

When logging in a file using a daily rotation with a prefix and / or a suffix, we might want to use another separator than a dot.

Proposal

Add customizable separator for prefix / filename and suffix (better if they are not the same) so that we can define specific separator for both elements.

We can still have dot as default separator if not configured.

The only unknown point would be how to handle the separator when in NEVER rotation with filename and suffix.
Maybe use the prefix / filename separator as default ?

Alternatives

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

No branches or pull requests

1 participant