mirror of
https://github.com/kbwo/testing-language-server.git
synced 2025-08-04 07:28:15 +00:00
chore(adapter): change log file location
This commit is contained in:
parent
65e95494bd
commit
90be4e498f
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ pub struct Log;
|
|||
impl Log {
|
||||
pub fn init() -> Result<WorkerGuard, anyhow::Error> {
|
||||
let home_dir = dirs::home_dir().unwrap();
|
||||
let log_path = home_dir.join(".config/testing_ls_adapter/logs");
|
||||
let log_path = home_dir.join(".config/testing_language_server/adapter/logs");
|
||||
let file_appender = tracing_appender::rolling::daily(log_path, "prefix.log");
|
||||
let (non_blocking, guard) = tracing_appender::non_blocking(file_appender);
|
||||
tracing_subscriber::fmt().with_writer(non_blocking).init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue