kingToolbox / kingToolbox/WindTerm

日志记录设置,多个打开的会话日志如何记录到不同文件

Open
#2,856 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

我在默认会话设置中配置日志记录路径如下:
D:/Program Files/WindTerm/.wind/logs/%n/%Y-%m-%d.log
实际使用发现,同一个会话打开多个连接会话标签页的会话日志貌似全记录到了同一个文件中;而类似配置在Secure CRT中,CRT会自动在会话名称文件夹下创建多个对应不同会话标签页的日志文件。
希望windterm可以实现将不同会话标签页的日志记录到不同文件的功能。或者是否可以通过修改以上的日志路径配置实现类似的功能
![CRT日志记录.png](https://img.picui.cn/free/2025/04/28/680f46a1d631f.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are mentioned. Reproduce the behavior using the configured logging path and multiple connection tabs, then trace how session tabs expand log paths. Done means each tab records to its own distinct log file, or the supported path syntax is documented if that already provides the behavior.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.