Skip to content

mwbot: Add basic tracing-subscriber wrapper

Legoktm requested to merge subscriber into main

mwbot::init_logging() will automatically configure tracing_subscriber based on any RUST_LOG variable, and set reasonable thresholds for the mwapi/mwbot/parsoid crates.

This is expected to be enhanced in the future, maybe with more verbose JSON logs that get saved to disk or something.

Bug: T319100

Merge request reports