View Single Post
  #4  
Old 09-17-2020, 12:23 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,494
Hi Rhudi,

Please see SecureCRT's documentation regarding SessionConfiguration object in the Scripting / Script Objects Reference topic in the Help file.

The specific line in your session (or Default session if making an ad hoc connection) INI file is:
S:"Custom Log Message Each Line"=

So, you would use something like below to add a timestamp:
Code:
Set objTab = crt.GetScriptTab
Set objConfig = objTab.Session.Config
objConfig.SetOption "Custom Log Message Each Line", "%h:%m:%s -- "
__________________
Thanks,
--Brenda

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