Add setup_logging and actual_response_lines utility functions

Signed-off-by: Rick Copeland <rick@synapp.io>