SecureCRT – Enable Logging
Options > Edit Default Session… > Log File

Field Variables
- %H – hostname
- %S – session name
- %Y – four-digit year
- %M – two-digit month
- %D – two-digit day of the month
- %h – two-digit hour
- %m – two-digit minute
- %s – two-digit seconds
- %t – three-digit milliseconds
- %% – percent (%)
- %envvar% – environment variable (for instance %USERNAME%)
- Log File Name: C:\Users\XXX\XXX\logs\%Y%M%D%h%m%s-%H.log (e.g. 20240318114818-10.88.241.63.log)
- Upon Connect: START LOG %S %H %Y-%M-%D %h:%m:%s
- Upon Disconnect: STOP LOG %S %H %Y-%M-%D %h:%m:%s

This messages prompts after hitting the OK button.
I choose “Change All sessions”.