Add time logging