Enhance log4cxx support.