requests logger
extracted wrapper