rename and add the console test for log4cplus