from datetime import datetime


def getdatetime(line):
  """
    Convenience func for getting datetime from 
    log file lines
  """
  token = line.split()[1]
  return datetime.strptime(token, '%H:%M:%S.%f')