00001 #include "Properties.hh" 00002 #include <iostream> 00003 #include <fstream> 00004 00005 int main(int argc, char** argv) { 00006 log4cpp::Properties properties; 00007 std::string inFile = (argc > 1) ? argv[1] : "log4cpp.properties"; 00008 std::ifstream in(inFile.c_str()); 00009 00010 properties.load(in); 00011 properties.save(std::cout); 00012 } 00013