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

Daily file Appender #278

Closed
wants to merge 3 commits into from
Closed

Daily file Appender #278

wants to merge 3 commits into from

Conversation

Plummtw
Copy link

@Plummtw Plummtw commented Oct 2, 2022

Adds a daily_file appender, similar to file appender.
It would create a new file each day.

sample config :

appenders:
daily_file:
kind: daily_file
pattern: "log/log_{}_.log"

{} will be replaced by YYYY-MM-DD with today's date (Local datetime).

@Plummtw Plummtw changed the title Daily file Daily file Appender Oct 2, 2022
@estk
Copy link
Owner

estk commented Oct 30, 2022

@Plummtw I'm hesitant to add a roller based on a fixed time interval, ideally, I'd like to support a parameter that will roll at a certain interval. I believe there is an abandoned PR somewhere in our history.

@Dirreke
Copy link
Contributor

Dirreke commented Dec 14, 2022

I have added a roller based on a fixed time intervel#296 . Could you merge it?@estk

@c-git
Copy link
Contributor

c-git commented Dec 14, 2022

Oh I thought there was already one and I just couldn't find it

@bconn98
Copy link
Collaborator

bconn98 commented Dec 2, 2023

@Plummtw recommend closing this and helping push #296 to closure.

@estk
Copy link
Owner

estk commented Dec 3, 2023

sounds good

@estk estk closed this Dec 3, 2023
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.

None yet

5 participants