CXX-265 Configure logging through startup options

Final pass!