chore: include file name and line number in tracing output
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 4m1s
Test / build (map[name:stable]) (push) Successful in 3m57s
Release Please / Release-plz (push) Failing after 33s

This commit is contained in:
Paul Campbell 2024-12-23 09:44:02 +00:00
parent 404782453a
commit ea73db714c

View file

@ -1,15 +1,21 @@
//
use std::path::PathBuf;
use crate::{nextcloud::client::DeckClient, trello::client::TrelloClient};
use clap::Parser;
use color_eyre::eyre::eyre;
use config::AppConfig;
use execute::Execute;
use kxio::fs::TempFileSystem;
use kxio::{fs::FileSystem, kxeprintln as e, kxprintln as p, net::Net, print::Printer};
use kxio::{
fs::{FileSystem, TempFileSystem},
kxeprintln as e, kxprintln as p,
net::Net,
print::Printer,
};
use tokio::time::Instant;
use crate::{nextcloud::client::DeckClient, trello::client::TrelloClient};
use execute::Execute;
mod api_result;
mod check;
mod config;
@ -118,6 +124,8 @@ pub async fn run(ctx: &Ctx, commands: &Commands) -> color_eyre::Result<()> {
tracing_subscriber::FmtSubscriber::builder()
.with_max_level(tracing::Level::TRACE)
.with_env_filter("trace,hyper_util=info,kxio=info")
.with_file(true)
.with_line_number(true)
.finish(),
)?;
}