Handler for Global Logger in Python