Update Rust crate flexi_logger to 0.28.0 #79
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
emabee/flexi_logger (flexi_logger)
v0.28.0
Detach from
lazy_static
, usestd::sync::OnceLock
instead.Bump minimal supported rust version to 1.70.
If
flexi_logger
runs into issues itself, it will try to write error messages into the configurederror output channel. By default,
flexi_logger
panics if writing to the error output channel fails.It is now possible to gracefully "swallow" the error messages and continue
(see panic_if_error_channel_is_broken).
The new feature
kv
allows making use of thekv
feature oflog
together withflexi_logger
sformat functions, and adds a dependency to
log/kv_serde
.The new feature
json
adds a format functionjson_format
and dependencies toserde_json
,serde
andserde_derive
.v0.27.4
Add ability to omit the basename cleanly, without leading underscore
(issue #153,
kudos to krystejj.
v0.27.3
Fix issue #152.
v0.27.2
Fix wrong timestamp handling for the second rotation (second part of issue #150).
v0.27.1
Fix issues with sub-second rotations and with cleanup when all logfiles should be compressed
(issue #150).
v0.27.0
Revise, and modify the signature of,
LoggerHande::existing_log_files()
(version bump).Extend the trait
LogWriter
with an optional methodrotate
.Extend impact of
LoggerHande::trigger_rotation()
to all configured writers.v0.26.1
Introduce new naming variants that work without
_rCURRENT
files:Naming::TimestampsDirect
and
Naming::NumbersDirect
(fixes #127).Improve documentation of filename handling.
Introduce
LoggerHandle.trigger_rotation()
(fixes #147).v0.26.0
Re-open output also for other writers (fixes #143).
Rename method to re-open output from LoggerHandle (leads to version bump).
Use
dep:
in Cargo.toml for references to most dependencies, in order to avoid implicit "features".Fix #145 (minor internal optimization).
v0.25.6
Add methods
LoggerHandle::adapt_duplication_to_stderr
andLoggerHandle::adapt_duplication_to_stdout
(realizes issue #142).
Extend docu on providing custom format.
Use rust-script instead of cargo-script for qualification scripts.
Update dependencies.
v0.25.5
Use display (rather than debug) formatting for thread names
(kudos to mpalmer).
v0.25.4
Add
LoggerHandle::existing_log_files()
.v0.25.3
Introduce additional
WriteMode
variantSupportCapture
.v0.25.2
Replace dependency
atty
withis-terminal
, due toRUSTSEC-2021-0145.
v0.25.1
Use chrono's support for rfc3339. Improve tests for
DeferredNow
.v0.25.0
Fix issues #132 and #133.
Update dependencies.
Bump MSRV to 1.60, because toml needs it now.
Improve documentation of feature dependencies.
Minor stuff.
v0.24.2
Move from unmaintained
ansi_term
tonu-ansi-term
.Fix new clippies.
v0.24.1
Some improvements in respect to
use_utc
:v0.24.0
Revert back to using
chrono
, sincechrono
is now fortunately maintained again and its timezonehandling is fixed meanwhile
DeferredNow
use_chrono_for_offset
became obsolete and is removedOn linux and Mac, improve the logic that handles the issue described again in
issue-122.
v0.23.3
Re-introduce
LoggerHandle::clone()
.v0.23.2
Fix security advisory (see #117) by replacing the dependency from
notify 4.0
withnotify-debouncer-mini 0.2
(which depends onnotify 5.0
). As a side-effect,the thread
flexi_logger-specfile-watcher
is replaced withnotify-rs debouncer loop
.Adapt and simplify the submodule
trc
a bit.v0.23.1
Fix a panic that can happen if
Naming::Timestamps
andFileSpec::o_suffix(None)
are used androtation happens within a second (issue-116).
Bump MSRV to 1.59 (because the
time
crate did this).v0.23.0
Switch to edition 2021, use latest patch of
time
version "0.3",bump minimal supported rust version to "1.57.0".
v0.22.6
Add interconversions between log::LevelFilter and flexi_logger::Duplicate
(kudos to rlee287).
v0.22.5
Only depend on the parts of crossbeam that are used (kudos to
bsilver8192).
v0.22.4
Add support for Rfc3164 to
SyslogWriter
(kudos to mbodmer).Add
Clone
andCopy
implementations to enum Duplicate (kudos toComplexSpaces).
Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.