Using JAnsi in some cases (like in Eclipse) can cause Log4j's status logger to log the following:
The problem is that the spaces in the string "T h e h a n d l e i s i n v a l i d ." are NUL (0) characters. If you copy a whole console, then when you paste, the text you get will stop at the first NUL (0).
This fix simply replaces NUL characters with SPACEs in the one place where we try to initialize JAnsi.