Add more debug logging.
Re-add incidentally removed call to setup_logging(...).