Create log.py

logger setup at the beginning of a main script. The logger can then be called by the submodule.