Add null handler to logging