View Single Post
Old 10-27-2020, 12:57 PM
Rhudi's Avatar
Rhudi Rhudi is offline
Registered User
Join Date: Jul 2013
Location: Greenville, SC
Posts: 90
There are numerous steps in this script that are unrelated to the logging. Basically, I am using a command line to pass arguments to a new tab. Once that tabs is running, it connects to a pre-defined session. That host is a Linux system. The next part of my script confirms the target host is valid by doing an nslookup on the name passed. That part works as expected. Still within the Linux host, I ssh to the target device (If that connection times out, it will try a telnet). I will get to the target device with no problem. My log file opens with no trouble. I just don't get the time stamp on each line.

I believe you have pointed me in the right direction. The script is running within the tab I've started. It may very well be that I'm not telling the right thing to log the time per line.