removed log initial, should init it on the main bin

This commit is contained in:
asxalex 2024-07-04 20:29:21 +08:00
parent b31aac3566
commit b43c073233

View File

@ -26,8 +26,6 @@ pub async fn run_sdlan(
// start_stop_sender: Sender<String>, // start_stop_sender: Sender<String>,
// start_stop_receiver: Receiver<String>, // start_stop_receiver: Receiver<String>,
) -> Result<()> { ) -> Result<()> {
let _guard = log::init_log();
let (start_stop_sender, start_stop_chan) = channel(20); let (start_stop_sender, start_stop_chan) = channel(20);
let edge_uuid = create_or_load_uuid("")?; let edge_uuid = create_or_load_uuid("")?;
let node_conf = parse_config(edge_uuid, &args).await?; let node_conf = parse_config(edge_uuid, &args).await?;