python blows up the 10k log lines limit