VanDyke Software Forums

VanDyke Software Forums (
-   General (
-   -   Session Log (

melarnell 10-08-2019 08:47 AM

Session Log
Is there a string to have secure crt create a folder per session host?


host = test


folder = test --> %S_%Y_%M_%D_%h%m%s_%t.log

berdmann 10-08-2019 01:08 PM

Hi melarnell,

If your goal is to have a folder for each of the remote hosts that you are connecting to you would use the %S (session) or the %H (hostname) substitution variables for the folder name in your path.

For example:


With this syntax a folder named after the session would be created in the "SecureCRT_Logs" directory. Log files depicting the connections to the specified host/session would be placed in the "%S" folder and would be named based on the substitution variables that you have specified for the log name (year, month, day and time).

Would something like that work for you?

For more information about SecureCRT Log File Name Substitution Parameters please refer to our YouTube video:

All times are GMT -6. The time now is 05:38 PM.