Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.53k stars 572 forks source link

Feature Request: Ability to Toggle Console Logging #2416

Open GadgetSteve opened 2 years ago

GadgetSteve commented 2 years ago

Versions

ConEmu build: 210912 x64 OS version: Windows 10 x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): Various

Problem description

Currently we can set console logging to a file (via Settings:Features) either to On for all new consoles or Off - this is rarely very useful as it will only produce useful results when set to on, a single new console is created the task(s) that it is desirable and then that console is exited and the logging turned off.

It would be much more useful to have any, or several, of a command, menu item, button or hotkey to enable & disable console logging for the current console. This would be of great help in things like debugging complex build processes, making tutorials, etc. - currently the closest is to use, (on Windows), something like command > build.log 2>&1 but this does not allow the user to see the output or any prompts and does not timestamp the output. On Posix platforms the tee command can be used but this is not available on windows by default.

Personally, I think that this would be much more useful & used than the current settings::features mechanism.