Fix logging in all modules

This commit is contained in:
Jan Tuomi
2017-09-19 19:31:43 +03:00
parent b507bc5f27
commit f534244dd8
6 changed files with 55 additions and 35 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
from . import mqtt
import logging
logger = logging.getLogger(__name__)
logger.debug('Starting mqtt loop')
logging.info('Starting mqtt loop')
mqtt.client.loop_start()