Created logger.py
Updated auto restart after config change