log time as well