v0.43.1
This commit is contained in:
1 parent
5b6d4a7903
commit
4d1087e357
160 files changed
+2407
-1933
No files matched your search
@@ -24,8 +24,6 @@ fn newest_log_files(
|
||||
result
|
||||
}
|
||||
|
||||
/// Rotated copies of a global log: `<file>.N`, `<file>.N.gz` (logrotate with or
|
||||
/// without `delaycompress`) and other `<file>.*.gz`, newest rotation first.
|
||||
fn rotated_gzip_sources(
|
||||
active: &std::path::Path,
|
||||
id_prefix: &str,
|
||||
@@ -90,7 +88,6 @@ fn rotated_gzip_sources(
|
||||
sort_by_rotation(&mut sources);
|
||||
sources
|
||||
}
|
||||
/// Newest data first: the file being written, then `.1`, `.2`, … (ties by mtime).
|
||||
fn sort_by_rotation(sources: &mut [FileLogSource]) {
|
||||
sources.sort_by(|a, b| {
|
||||
a.rotation
|
||||
|
||||
Reference in new issue
Block a user