pass logger to request