Skip to content

Save log for each open buffer #438

Open

Description

@DonComo

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. #

Activity

  1. cbucher commented on May 31, 2017

    @cbucher
    Owner

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

  2. DonComo commented on Jun 1, 2017

    @DonComo
    Author

    Here it is:

    conemu-log

  3. garethhumphriesacc commented on Oct 7, 2018

    @garethhumphriesacc

    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.

  4. cbucher commented on Oct 9, 2018

    @cbucher
    Owner

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions