python 2.6 __init__ setup for the stream handler