logging: Make NullHandler for py2.6