Fixed minor bug in xtend with incorrect path.

Fixed Python and documented out the code for logging.