Support log4j 2.x.

This is an RC dependency. We can update that when log4j 2.0 is release, but that shouldn't be
necessary.