updates logging to debug issue -- think this does it.