kingToolbox / kingToolbox/WindTerm

can't set logging directory correctly

Open
#1,860 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

version: 2.6.0 prerelease 2

Summary:

I want to automatically save the log file to a seperate directory every time I start a session. but the log files always located at default log path even if i specified absolute path.

Repro steps:
1. open session setting window,
2. click the browse button and set the file path, like : `D:\workspace\windterm\%n_%Y-%m-%d_%H-%M-%S.log`.
3. excute some command or restart the session.
4. open the logging directory (`D:\workspace\windterm\`) , you will find out it's empty
5. now checkout the default logging path, you will find log files at `.wind\profiles\default.v10\terminal\logs\{session name}\D%3A\workspace\windterm`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the session setting window and reproduce the logging path using the absolute Windows path from the report. Compare the selected path with the default log location and verify that a new session writes logs to the requested directory rather than creating the reported encoded path.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.