KiTTY
KiTTY copied to clipboard
Logging issue with cloned session
Hello! Is it possible to add one more identifier into settings for file name like &S (session name) to avoid mixing of outputs from different sessions in one session log?
I was about to propose the same. I often have multiple sessions open simultaneously and the handling isn't very good. I was however going to propose to add more unique identifiers, when I have multiple sessions open to the same host the session name tends to be identical.
I was thinking along the line of:
- Timestamp of the session start (maybe this is already possible with the current time variable? Haven't tested it yet TBH)
- Source port (should always be unique)
- counter of the number of sessions
Okay, I tested the &T variable, it results in HHMMSS, which fits my needs (as long as I don't open two sessions within the same second, which is unlikely).
&Y-&M-&D-&H-&T.log results in 2024-01-04-hostname-093258.log
It would however be nice if KiTTY were able to create subdirectories according to variables.
Example:
C:\Path\to\logs\&Y\&M\&Y-&M-&D-&H-&T.log
Currently it just silently doesn't write any logs with a path like that.