Our current code base prints messages to std::cout this will all need to be removed/changed when we move to postgresql. There are two ubuntu packages that should be considered for adding logging support. liblog4cpp5, liblog4cpp5-dev and liblog4cplus-1.0-4, liblog4cplus-dev.
Either of these would give us a good tool to be able to log to a file in postgresql for debugging or to disable all output for production use and still get normal output for command line debugging.
Our current code base prints messages to std::cout this will all need to be removed/changed when we move to postgresql. There are two ubuntu packages that should be considered for adding logging support.
liblog4cpp5
,liblog4cpp5-dev
andliblog4cplus-1.0-4
,liblog4cplus-dev
.Either of these would give us a good tool to be able to log to a file in postgresql for debugging or to disable all output for production use and still get normal output for command line debugging.