add log4cplus support