Commit b51fccb7 authored by Ian Jackson's avatar Ian Jackson
Browse files

Rename arti::trace module to arti::logging

We are going to move LoggingConfig here.  We should follow the
already-public name IMO.
parent 8aea5c9e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -117,9 +117,9 @@
pub mod cfg;
pub mod dns;
pub mod exit;
pub mod logging;
pub mod process;
pub mod socks;
pub mod trace;
pub mod watch_cfg;

pub use cfg::{ArtiConfig, ArtiConfigBuilder};
@@ -303,7 +303,7 @@ pub fn main_main() -> Result<()> {

    let config: ArtiConfig = cfg.try_into().context("read configuration")?;

    let _log_guards = trace::setup_logging(config.logging(), matches.value_of("loglevel"))?;
    let _log_guards = logging::setup_logging(config.logging(), matches.value_of("loglevel"))?;

    if let Some(proxy_matches) = matches.subcommand_matches("proxy") {
        let socks_port = match (