Added logging to server.py