fix the problem caused by old style class logging.Handler in python 2.6.x