Changed the type of 'time' in db.log to datetime from list.