View Single Post
Old 09-17-2020, 12:23 PM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,482
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:
Set objTab = crt.GetScriptTab
Set objConfig = objTab.Session.Config
objConfig.SetOption "Custom Log Message Each Line", "%h:%m:%s -- "

VanDyke Software
Technical Support
(505) 332-5730