diff --git a/dynolog/src/ODSJsonLogger.cpp b/dynolog/src/ODSJsonLogger.cpp index e4f74ba7..3dae4688 100644 --- a/dynolog/src/ODSJsonLogger.cpp +++ b/dynolog/src/ODSJsonLogger.cpp @@ -18,7 +18,10 @@ DEFINE_string(category_id, "", "The category id of the ODS endpoint"); DEFINE_string(ods_entity_prefix, "", "The prefix for ODS entity name"); namespace dynolog { + +#ifdef USE_GRAPH_ENDPOINT constexpr char kODSUrl[] = "https://graph.facebook.com/v2.2/ods_metrics"; +#endif ODSJsonLogger::ODSJsonLogger() : hostname_(facebook::hbt::getHostName()) {}