Duplicate getLogger removed
logging.basicconfig() moved to top