Updated to Log4j2 RC2
Added missing license headers.
A nasty trick to prevent them from closing System.out or System.err
while we're still using it.