I'm using Terminator (terminal emulator). I had to capture all the terminal logs and hence I set infinite-scroll ON but ultimately I found that actually it's not scrollable more than few hundred lines. The webpage says that there is a feature called "Automatic Logging" but it says no more words about it i.e how to enable it and where to search for the log (location of the log file). Please help me for the same.
Thank you!
Right click on terminator screen Click Preferences Go to Plugins tab Enable Logger Click close
Right Click on terminator screen again Click start logger
Right-Click on the screen in Terminator --> "Preferences" --> click the "Plugins" tab --> check the box for "Logger" --> click "Close".
Right-Click on the screen --> "Start Logger":
It will now bring up a window to ask you where you want to save your log file. Save it wherever you want. Ex: ~/logs/terminator.log.
Now, use the terminal as normal, and pretty much everything, including both commands and output (but not sub-shells and things I believe), will be logged. See here for the minimal official documentation on the logger: https://terminator-gtk3.readthedocs.io/en/latest/plugins.html#logger.
When done, Right-Click on the screen --> "Stop Logger".
CAUTION: IF YOU JUST CLOSE THE WINDOW OR SOMETHING INSTEAD OF MANUALLY STOPPING THE LOGGER VIA THE MENU, YOU WILL LOSE ALMOST ALL, OR ALL, OF THE LOGGING CONTENT. This is silly, and should be fixed, but you'd have to go report a bug or feature request, and I don't feel like it, so...you do it please.
Official Logger documentation: https://terminator-gtk3.readthedocs.io/en/latest/plugins.html#logger
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With