I have a tmux script that creates a new window, runs bunch of CLI's
I want to log all the console output in a custom log file.
I modified toggle_logging.sh to accept a session name as an argument. It was a fairly simple bash change (attached below)
I succeeded in turning on logging using below CLI..
send "tmux run-shell ~/.tmux/plugins/tmux-logging/scripts/toggle_logging.sh" ENTER \;
However, the above CLI doesn't accept any arguments. Hence i couldn't create a custom log file.
I tried doing this but no logging is happening.
I have a tmux script that creates a new window, runs bunch of CLI's I want to log all the console output in a custom log file.
I modified toggle_logging.sh to accept a session name as an argument. It was a fairly simple bash change (attached below) I succeeded in turning on logging using below CLI..
send "tmux run-shell ~/.tmux/plugins/tmux-logging/scripts/toggle_logging.sh" ENTER \;
However, the above CLI doesn't accept any arguments. Hence i couldn't create a custom log file. I tried doing this but no logging is happening.
Here is the script change i did to pass a filename arg