aboutsummaryrefslogtreecommitdiff
path: root/crates/arti/src/logging
Commit message (Collapse)AuthorAgeFilesLines
* Split OTLP exporter into separate crate.Wesley Aptekar-Cassels2026-08-101-83/+0
| | | | | This will allow this code to be shared between arti and arti-relay, and will also likely be useful for others in the ecosystem.
* maint: Run maint/add_warning to deny string slicesClara Engler2026-06-091-0/+1
| | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit.
* arti: Bump the versions of our opentelemetry depsGabriela Moldovan2026-06-031-1/+1
| | | | Part of #2559
* arti: Port to web-time-compat.Nick Mathewson2026-03-261-5/+3
|
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
| | | | Run maint/add_warning
* arti: Add note about OpenTelemetry data model.Wesley Aptekar-Cassels2025-09-241-0/+3
|
* opentelemetry: Add note about lack of upstream OTLP exporter.Wesley Aptekar-Cassels2025-09-241-0/+3
|
* opentelemetry: Panic on mutex poison.Wesley Aptekar-Cassels2025-09-241-8/+1
|
* arti: Add experimental support for OpenTelemetry.Wesley Aptekar-Cassels2025-09-241-0/+84
|
* arti: log errors using `tor_error::ErrorReport`Steven Engler2025-08-181-1/+14
|
* arti: log error fields lastSteven Engler2025-08-181-0/+94
|
* Use {u64,usize}::div_ceilNick Mathewson2024-09-301-1/+1
| | | | | Previously we had to avoid it, but now that our MSRV is above 1.73 we can use it with abandon.
* Run maint/add_warning.Nick Mathewson2024-03-131-0/+1
|
* arti: Fix Windows testTobias Stoeckmann2024-03-011-4/+10
| | | | | Windows has a 100-nanosecond precision, so avoid test failure due to a known system limitation.
* arti: rewrite ilog10_roundup using checked_ilog10.Nick Mathewson2023-11-301-16/+4
|
* Run maint/add_warning to add lint block everywhereIan Jackson2023-08-231-0/+1
|
* Run maint/add_warning to actually apply new lint allowsIan Jackson2023-07-101-0/+1
|
* arti: comments about catch_unwindNick Mathewson2023-07-061-0/+9
|
* time_granularity: Make sure formatter can't panicNick Mathewson2023-07-061-17/+49
| | | | | | I was unable to assure myself that tracing_subscriber could withstand a panicking Timer, so instead I'm trying to make sure our own LogTimer can't panic.
* arti: Add a `logging.time_granularity` option with 1s default.Nick Mathewson2023-07-061-0/+294
This lets us provide less information in our logs: in particular, it lets us avoid logging with microsecond precision. Closes #551.