Add log4cpp output to test-pretty_print.cc