VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   General (https://forums.vandyke.com/forumdisplay.php?f=11)
-   -   Session Log (https://forums.vandyke.com/showthread.php?t=13925)

melarnell 10-08-2019 09:47 AM

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

IE:

host = test

c:\SecureCRT_Log\

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

berdmann 10-08-2019 02: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:

Code:

      C:\SecureCRT_Logs\%S\%Y_%M_%D_%h.%m.%s_%t.log
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:

https://www.youtube.com/watch?v=MnS2JhhqWG4


All times are GMT -6. The time now is 09:30 PM.