tmux-plugins / tmux-logging

Easy logging and screen capturing for Tmux.
MIT License
1.05k stars 114 forks source link

Log entire session automatically or using a key bind - Enhancement #56

Open Anu-bhav opened 3 years ago

Anu-bhav commented 3 years ago

Hi,

Is there a way to log the entire session?

For now, for each new pane we need to press the key bind to start recording, and also the output becomes really messy. Can we have a toggle switch to activate logging all the windows and panes in the current session?

I suggest to make a tmux-logs folder instead of outputting directly into $HOME. In the log folder, we create a folder with only the date-session name so as to keep it organised. So for every new session, the output will stay organised. For now, It's being a mess to find a specific log. And in the date-session folder, the logs will be kept using the name convention window-pane-date.log

mosheDO commented 3 years ago

This is a good feature I tried to do that, but its not that easy, I cant access the all the pane and pipe the command.

If someone wants to do that with me or start and we can work on that I'm ready to help.

Regards, Moshe

psdon commented 3 years ago

maybe duplicate https://github.com/tmux-plugins/tmux-logging/issues/45

psdon commented 3 years ago

@mosheDO, I'm willing to collaborate with you

mosheDO commented 3 years ago

Hi @psdon

Do you want to start. You can fork this project. And try to add some tasks and I will help