deps: replace tracing with log+env_logger, drop console-subscriber
Switch all tracing::{info,warn,error} to log::{info,warn,error}.
Replace tracing_subscriber::fmt::init() with env_logger::init().
Drop tracing, tracing-subscriber, tracing-appender as direct deps.
Drop console feature from jobkit (was pulling in console-subscriber
which pulled in tracing-subscriber).
tracing still compiled as transitive dep of reqwest and tui-markdown,
but our code no longer depends on it.
Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
917960cb76
commit
93bc49959c
19 changed files with 157 additions and 526 deletions
|
|
@ -10,7 +10,7 @@ use capnp_rpc::{rpc_twoparty_capnp, twoparty, RpcSystem};
|
|||
use futures::AsyncReadExt;
|
||||
use tokio::net::UnixStream;
|
||||
use tokio_util::compat::TokioAsyncReadCompatExt;
|
||||
use tracing::{info, warn};
|
||||
use log::{info, warn};
|
||||
|
||||
use crate::channel_capnp::{channel_client, channel_server};
|
||||
use capnp::capability::Promise;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
use crate::thalamus::{home, now, notify};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::fs;
|
||||
use tracing::info;
|
||||
use log::info;
|
||||
|
||||
// Defaults
|
||||
pub const DEFAULT_IDLE_TIMEOUT: f64 = 5.0 * 60.0;
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ use serde::{Deserialize, Serialize};
|
|||
use std::collections::BTreeMap;
|
||||
use std::fs;
|
||||
use std::path::PathBuf;
|
||||
use tracing::info;
|
||||
use log::info;
|
||||
|
||||
use super::home;
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ use std::collections::BTreeMap;
|
|||
use std::fs::File;
|
||||
use std::path::PathBuf;
|
||||
use std::process::Child;
|
||||
use tracing::{info, warn, error};
|
||||
use log::{info, warn, error};
|
||||
|
||||
fn channels_dir() -> PathBuf {
|
||||
dirs::home_dir()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue