fixed the logger in services/main.py