logging request duration fixed