Log printing duration