Apply logging to request