Skip to content

Commit 3f67700

Browse files
authored
fix: default log directory (#481)
1 parent 57b952c commit 3f67700

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

super-agent/src/logging/file_logging.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::path::PathBuf;
22

33
use serde::Deserialize;
44

5-
use crate::super_agent::defaults::{SUPER_AGENT_DATA_DIR, SUPER_AGENT_LOG_FILENAME};
5+
use crate::super_agent::defaults::{SUPER_AGENT_LOG_DIR, SUPER_AGENT_LOG_FILENAME};
66

77
use super::config::LoggingError;
88
use tracing_appender::non_blocking::{NonBlocking, WorkerGuard};
@@ -33,7 +33,7 @@ pub(crate) struct LogFilePath {
3333
impl Default for LogFilePath {
3434
fn default() -> Self {
3535
Self {
36-
parent: PathBuf::from(SUPER_AGENT_DATA_DIR),
36+
parent: PathBuf::from(SUPER_AGENT_LOG_DIR),
3737
file_name: PathBuf::from(SUPER_AGENT_LOG_FILENAME),
3838
}
3939
}

0 commit comments

Comments
 (0)