Added logging to version.py. Internal server error otherwise.