SSH Logging filename flags?

0 vote

avatar

Is there a way to have SSH Session logs incorporate filename format flags so you can do things like date stamping the log file or other parameters about the session?
Also, I could not find any help page about the logging feature. Did I miss it somewhere?
And what happens if you allow multiple connections for same session when the log is being written to?

All Comments (2)

avatar

Hi,

Is there a way to have SSH Session logs incorporate filename format flags so you can do things like date stamping the log file or other parameters about the session?


No, it's not possible with the logs (only with session recording). The log file will always be the same and it will be overwritten for each launch of a connection. At the moment, logs in SSH sessions are provided more as a troubleshooting feature than an actual book keeping tool.

Also, I could not find any help page about the logging feature. Did I miss it somewhere?


There might not be. There are two ways to enable logs in RDM Mac. Globally for all entries that supports those (via the Help -> Session Logs window, left-most button in the toolbar). Or on a per session basis under the Advanced Tab by checking the "Enable logging" checkbox and selecting a file path.

And what happens if you allow multiple connections for same session when the log is being written to?


When launching for the second (and third, etc.) time the session, the log file will be cleared and from then on, all sessions will be writing in the same file. This has not really been built with this use case in mind.

Best regards,

Xavier Fortin

avatar

Thank you for pointing out that other screen. This is more what I needed. I'll open a support post on why the "Enable Recording". feature is not recording session output and keystrokes (nothing is recorded). Event log works fine.