Skip to content

Commit c778373

Browse files
authored
Fix logging paths (#198)
1 parent a02c0c6 commit c778373

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/chat-cli/src/logging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ pub fn initialize_logging<T: AsRef<Path>>(args: LogArgs<T>) -> Result<LogGuard,
7676

7777
// Make the log path parent directory if it doesn't exist.
7878
if let Some(parent) = log_path.parent() {
79-
if log_path.ends_with("chat.log") {
79+
if log_path.ends_with("qchat.log") {
8080
mcp_path = Some(parent.to_path_buf());
8181
}
8282
std::fs::create_dir_all(parent)?;

crates/fig_log/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub fn initialize_logging<T: AsRef<Path>>(args: LogArgs<T>) -> Result<LogGuard,
7575

7676
// Make the log path parent directory if it doesn't exist.
7777
if let Some(parent) = log_path.parent() {
78-
if log_path.ends_with("chat.log") {
78+
if log_path.ends_with("qchat.log") {
7979
mcp_path = Some(parent.to_path_buf());
8080
}
8181
std::fs::create_dir_all(parent)?;

0 commit comments

Comments
 (0)