log refresh and format current time