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

new feature: keep only the last N log files in rotation #2284

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
06e2803
keep_last_n
ozgunozerk Aug 22, 2022
a98a627
Update tracing-appender/src/rolling.rs
ozgunozerk Sep 22, 2022
30735ce
Update tracing-appender/src/rolling.rs
ozgunozerk Sep 22, 2022
15f695b
Update tracing-appender/src/rolling.rs
ozgunozerk Sep 22, 2022
e089385
Update tracing-appender/src/rolling.rs
ozgunozerk Sep 22, 2022
d544f88
Update tracing-appender/Cargo.toml
ozgunozerk Sep 22, 2022
7d9a275
keep_last moved to builder
ozgunozerk Sep 22, 2022
1d0d5ea
builder method fix, and clippy fixes
ozgunozerk Sep 22, 2022
2881d40
typo
ozgunozerk Sep 22, 2022
6a82706
Update tracing-appender/src/rolling/builder.rs
ozgunozerk Sep 23, 2022
50034c2
Update tracing-appender/src/rolling/builder.rs
ozgunozerk Sep 23, 2022
cc1091c
Update tracing-appender/src/rolling/builder.rs
ozgunozerk Sep 23, 2022
803f48d
Update tracing-appender/src/rolling/builder.rs
ozgunozerk Sep 23, 2022
13a8c5a
suggestions
ozgunozerk Sep 23, 2022
e6b69af
logic fix
ozgunozerk Sep 23, 2022
371fc84
Update tracing-appender/src/rolling.rs
ozgunozerk Sep 23, 2022
0f8f808
remainder of the suggestion
ozgunozerk Sep 23, 2022
13900ef
test for max_log_files
ozgunozerk Sep 23, 2022
c52d1df
Update tracing-appender/src/rolling.rs
ozgunozerk Sep 23, 2022
9bf0e24
Update tracing-appender/src/rolling/builder.rs
ozgunozerk Sep 23, 2022
86de637
Update tracing-appender/src/rolling/builder.rs
ozgunozerk Sep 23, 2022
08c4420
suggestions
ozgunozerk Sep 23, 2022
24f26bc
only parse format descr when creating appender
hawkw Sep 23, 2022
b224b1e
reduce test flakiness due to low resolution timestamps
hawkw Sep 23, 2022
1fd04ff
only turn filename into a string once
hawkw Sep 23, 2022
19e921f
never delete dirs or symlinks
hawkw Sep 23, 2022
5b3e24a
documentation fixes
ozgunozerk Sep 24, 2022
9032b44
remove `dbg!`
hawkw Sep 24, 2022
dfedf10
Merge pull request #1 from tokio-rs/eliza/one-format-descr
ozgunozerk Sep 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading