Fix code which creates logger in manager.py