prevent duplicate sys.stdout loggers