switched logging to log4cxx