Uncomment logging.
Some compatible changes suggested by the 2to3 utility.