Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 10-08-2019, 09:47 AM
melarnell melarnell is offline
Registered User
 
Join Date: Jul 2019
Posts: 5
Talking 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
Reply With Quote
  #2  
Old 10-08-2019, 02:08 PM
berdmann berdmann is offline
VanDyke Technical Support
 
Join Date: Aug 2017
Posts: 262
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
__________________
Thanks,
--Brittney

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by berdmann; 10-08-2019 at 02:11 PM.
Reply With Quote
Reply

Tags
logging , logging session securecrt


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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