Update schema.py

Removed unused code for logging to log.txt