We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
prune_old_logs()
metadata().created()
tracing 0.1.40 tracing-appender 0.2.3
Linux dev 6.6.34-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Mon, 17 Jun 2024 10:01:45 +0000 x86_64 Linux Alpine 3.20.0 Rust 1.78.0
Linux dev 6.6.34-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Mon, 17 Jun 2024 10:01:45 +0000 x86_64 Linux
The rolling file appender's prune_old_logs() function calls metadata.created().ok()? which does not work on Alpine Linux.
metadata.created().ok()?
called `Result::unwrap()` on an `Err` value: Error { kind: Unsupported, message: "creation time is not available on this platform currently" }
This causes log files to accumulate forever.
The text was updated successfully, but these errors were encountered:
Duplicate of #2999.
Sorry, something went wrong.
No branches or pull requests
Bug Report
Version
tracing 0.1.40
tracing-appender 0.2.3
Platform
Linux dev 6.6.34-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Mon, 17 Jun 2024 10:01:45 +0000 x86_64 Linux
Alpine 3.20.0
Rust 1.78.0
Description
The rolling file appender's
prune_old_logs()
function callsmetadata.created().ok()?
which does not work on Alpine Linux.This causes log files to accumulate forever.
The text was updated successfully, but these errors were encountered: