Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save log for each open buffer #438

Open
DonComo opened this issue May 12, 2017 · 4 comments
Open

Save log for each open buffer #438

DonComo opened this issue May 12, 2017 · 4 comments

Comments

@DonComo
Copy link

DonComo commented May 12, 2017

It would be really nice if the buffers would be logged to files similarly to how it's done in ConEmu. This way I can have a history of what I've been playing around with. This is immensely useful when I start forgetting how I've done something in the past since I can just grep the log files. #

@cbucher
Copy link
Owner

cbucher commented May 31, 2017

Can you be more specific on this feature?
I didn't find this feature in ConEmu.

@DonComo
Copy link
Author

DonComo commented Jun 1, 2017

Here it is:

conemu-log

@garethhumphriesacc
Copy link

I too am interested in this feature. Simply a log of the entire session written to a file on disk - typically %HOME%/logs/console-<host>-<start-time>-<pid>.log or similar.

It's useful as a way to recover data lost in scrollback (especially considering the absence of an infinite scrollback feature), and also for incident investigation.

Some places (e.g. many financial institutions) have a policy of client-side logging of all server sessions, for legal & compliance reasons.

@cbucher
Copy link
Owner

cbucher commented Oct 9, 2018

You cannot redirect output stream and read console buffer in same time.
If you read the output stream, you don't have color indications.

The only solution to workaround this problem is to hook writing functions in each process launched (shell and childs).

I don't like this. (Antiviral softwares don't like this too...)

If you want to redirect stdout to a file, many shells already offer this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants