import logging logger_name = 'RPI_ENVSENS' logger = logging.getLogger(logger_name)