File size: 300 Bytes
b98ffbb |
1 2 3 4 5 6 7 8 9 10 |
use std::path::{Path, PathBuf};
use dora_core::config::NodeId;
use uuid::Uuid;
pub fn log_path(working_dir: &Path, dataflow_id: &Uuid, node_id: &NodeId) -> PathBuf {
let dataflow_dir = working_dir.join("out").join(dataflow_id.to_string());
dataflow_dir.join(format!("log_{node_id}.txt"))
}
|