Use INFO logging by default, not DEBUG
fix typo in msg length count