add logging into DTObs.py
import logging for proper logging