Add timestamp to exception logs