added logging to file main.py