Logging time as well