title: how to add timestamp in expect console log file
body: <p>I am sending some commands to a server which will run for more than 1 hour, I am using expect <code>log_file</code> feature to collect the console logs. My requirement is to add <code>timestamp</code> in the log file.</p>
  
  <p>Is there any way to add every seconds <code>timestamp</code> in the log file which i got from <code>log_file</code> commands.</p>