Removed non-functional StringIO logging code.