change most of our logging to $log.debug statements so we can turn them off on prod.