fix uninit var warnings.
Add logging to bounce logger.