logging request duration