Controlling Logging Levels from Imported Modules in Custom Component

I’ve been messing around with one of the many pyharmony forks trying to integrate it directly into HA and have learned my python skills arent as good as I previously thought. I’ve created a custom harmony component and a harmony platform that creates a current activity sensor for each harmony hub specified in the configuration.yaml. Right now I’m having an issue with logs getting spammed from the imported modules that pyharmony uses. I’ve never really played with loggers in Python and am failing at it splendidly. From my research it looks like the errors aren’t really errors, just Logitech not sending the proper closing statement. Here’s a sample of the log spam:

_>     INFO:homeassistant.loader:Loaded sensor.harmony from custom_components.sensor.harmony_
_>     INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): svcs.myharmony.com_
_>     INFO:homeassistant.components.http:Serving /api/stream to 10.168.1.120 (auth: True)_
_>     INFO:homeassistant.components.http:Serving /api/bootstrap to 10.168.1.120 (auth: True)_
_>     INFO:sleekxmpp.features.feature_bind.bind:JID set to: 1111/gatorade._
_>     INFO:homeassistant.components.http:Serving /api/stream to 10.168.1.120 (auth: True)_
_>     INFO:homeassistant.components.http:Serving /api/bootstrap to 10.168.1.120 (auth: True)_
_>     INFO:pyharmony.auth:Received UUID from device: f183f0af-2b0a-44e3-1542-764a811dc1d8_
_>     ERROR:sleekxmpp.xmlstream.xmlstream:Error reading from XML stream._
_>     INFO:sleekxmpp.features.feature_bind.bind:JID set to: 1111/gatorade._
_>     INFO:sleekxmpp.xmlstream.xmlstream:Waiting for </stream:stream> from server_
_>     INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): svcs.myharmony.com_
_>     INFO:sleekxmpp.features.feature_bind.bind:JID set to: 1111/gatorade._
_>     INFO:pyharmony.auth:Received UUID from device: f183f0af-2b0a-44e3-1542-764a811dc1d8_
_>     ERROR:sleekxmpp.xmlstream.xmlstream:Error reading from XML stream._
_>     INFO:sleekxmpp.features.feature_bind.bind:JID set to: 1111/gatorade._
_>     INFO:sleekxmpp.xmlstream.xmlstream:Waiting for </stream:stream> from server_
_>     INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=sensor.bedroom, new_state=<state sensor.bedroom=PowerOff; friendly_name=Bedroom @ 2016-09-05T20:50:00.994823-04:00>, old_state=None>_

The extra entries are hidden by adding to my configuration.yaml:

logbook:
logger:
  default: info
logs:
  sleekxmpp: critical
  pyharmony: critical
  requests: critical

The fork of pyharmony and my custom components directory are available here

Any help or nudge in the right direction would be great!

Finally happened upon a stack overflow posting that helped.

logging.getLogger('sleekxmpp').setLevel(logging.CRITICAL)
logging.getLogger('requests').setLevel(logging.CRITICAL)
logging.getLogger('pyharmony').setLevel(logging.ERROR)

that’s it!