Add log4cxx support.