New logging added to forgotten module piface_function

This commit is contained in:
Dirk Alders 2020-12-23 19:04:44 +01:00
parent 12aeefae37
commit 86715dd1eb

View File

@ -12,7 +12,11 @@ import task
import random import random
import time import time
logger = logging.getLogger('APP') try:
from config import APP_NAME as ROOT_LOGGER_NAME
except ImportError:
ROOT_LOGGER_NAME = 'root'
logger = logging.getLogger(ROOT_LOGGER_NAME).getChild(__name__)
geo_position = geo.gps.coordinate(lat=49.976596, lon=9.1481443) geo_position = geo.gps.coordinate(lat=49.976596, lon=9.1481443)