rename mod with tracing inits due to macro issues
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
f70fdca828
commit
a752fb9943
3 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
pub(crate) mod clap;
|
pub(crate) mod clap;
|
||||||
|
mod logging;
|
||||||
mod mods;
|
mod mods;
|
||||||
mod restart;
|
mod restart;
|
||||||
mod sentry;
|
mod sentry;
|
||||||
mod server;
|
mod server;
|
||||||
mod signal;
|
mod signal;
|
||||||
mod tracing;
|
|
||||||
|
|
||||||
extern crate conduit_core as conduit;
|
extern crate conduit_core as conduit;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ use std::sync::Arc;
|
||||||
use conduit::{config::Config, info, log::Log, utils::sys, Error, Result};
|
use conduit::{config::Config, info, log::Log, utils::sys, Error, Result};
|
||||||
use tokio::{runtime, sync::Mutex};
|
use tokio::{runtime, sync::Mutex};
|
||||||
|
|
||||||
use crate::{clap::Args, tracing::TracingFlameGuard};
|
use crate::{clap::Args, logging::TracingFlameGuard};
|
||||||
|
|
||||||
/// Server runtime state; complete
|
/// Server runtime state; complete
|
||||||
pub(crate) struct Server {
|
pub(crate) struct Server {
|
||||||
|
@ -33,7 +33,7 @@ impl Server {
|
||||||
#[cfg(feature = "sentry_telemetry")]
|
#[cfg(feature = "sentry_telemetry")]
|
||||||
let sentry_guard = crate::sentry::init(&config);
|
let sentry_guard = crate::sentry::init(&config);
|
||||||
|
|
||||||
let (tracing_reload_handle, tracing_flame_guard, capture) = crate::tracing::init(&config)?;
|
let (tracing_reload_handle, tracing_flame_guard, capture) = crate::logging::init(&config)?;
|
||||||
|
|
||||||
config.check()?;
|
config.check()?;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue