Feature Request: Logging Input and Output for Each Terminal Tab Automatically #22723

Closed
opened 2026-01-31 08:21:35 +00:00 by claunia · 3 comments
Owner

Originally created by @lededev on GitHub (Jan 2, 2025).

Description: I would like to request a feature that allows logging of input and output for each terminal tab in Windows Terminal automatically (Not export text manually, Because I often remember to review the terminal output only after I close the tab or the entire terminal program). This feature would be similar to the logging functionality available in mintty, where logs can be configured in the configuration file (e.g., ~/.minttyrc with Log=/var/log/mintty/%Y%m%d@%H:%M:%S_log%d.txt).

Use Case: This feature would be extremely useful for users who need to keep a record of their terminal sessions for auditing, debugging, or documentation purposes. It would be beneficial for various types of terminals, including PowerShell, CMD, WSL, and MSYS2.

Proposed Solution: Implement a logging feature that can be configured in the Windows Terminal settings, allowing users to specify the log file path and format. The logs should include both input and output for each terminal tab.

Additional Context: Currently, users have to rely on external tools and scripts to achieve this functionality. Having this feature built into Windows Terminal would greatly enhance its usability and convenience.

Originally created by @lededev on GitHub (Jan 2, 2025). Description: I would like to request a feature that allows logging of input and output for each terminal tab in Windows Terminal automatically (Not export text manually, Because I often remember to review the terminal output only after I close the tab or the entire terminal program). This feature would be similar to the logging functionality available in mintty, where logs can be configured in the configuration file (e.g., ~/.minttyrc with Log=/var/log/mintty/%Y%m%d@%H:%M:%S_log%d.txt). Use Case: This feature would be extremely useful for users who need to keep a record of their terminal sessions for auditing, debugging, or documentation purposes. It would be beneficial for various types of terminals, including PowerShell, CMD, WSL, and MSYS2. Proposed Solution: Implement a logging feature that can be configured in the Windows Terminal settings, allowing users to specify the log file path and format. The logs should include both input and output for each terminal tab. Additional Context: Currently, users have to rely on external tools and scripts to achieve this functionality. Having this feature built into Windows Terminal would greatly enhance its usability and convenience.
claunia added the Resolution-Duplicate label 2026-01-31 08:21:35 +00:00
Author
Owner

@83nf15h commented on GitHub (Mar 1, 2025):

#14018 and #9700 are looking for a similar feature but have had no progress in a long time. Would be great to have this included.

@83nf15h commented on GitHub (Mar 1, 2025): #14018 and #9700 are looking for a similar feature but have had no progress in a long time. Would be great to have this included.
Author
Owner

@zadjii-msft commented on GitHub (Mar 27, 2025):

Yep, those are definitely the right dupes. Thanks!

/dup #14018

@zadjii-msft commented on GitHub (Mar 27, 2025): Yep, those are definitely the right dupes. Thanks! /dup #14018
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Mar 27, 2025):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Mar 27, 2025): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22723