diff options
author | Arne Juul <arnej@yahoo-inc.com> | 2017-10-02 13:39:19 +0000 |
---|---|---|
committer | Arne Juul <arnej@yahoo-inc.com> | 2017-10-05 06:25:33 +0000 |
commit | deb22c99216e4545610e08928490eba617b7b8b7 (patch) | |
tree | ca2a243d8a5893d36192d34041ea2c5d9bd5710b /logforwarder/src/apps/vespa-logforwarder-start/cf-handler.cpp | |
parent | 3b2f3992cfe417e29ccd6e0dc52017664e3530b2 (diff) |
update with new schema
Diffstat (limited to 'logforwarder/src/apps/vespa-logforwarder-start/cf-handler.cpp')
-rw-r--r-- | logforwarder/src/apps/vespa-logforwarder-start/cf-handler.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.cpp b/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.cpp index 479bf33ab59..573a23a373e 100644 --- a/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.cpp +++ b/logforwarder/src/apps/vespa-logforwarder-start/cf-handler.cpp @@ -25,12 +25,9 @@ CfHandler::doConfigure() std::unique_ptr<LogforwarderConfig> cfg(_handle->getConfig()); const LogforwarderConfig& config(*cfg); - printf("logforwarder type: %s\n", config.type.c_str()); - for (unsigned int i = 0; i < config.sources.size(); ++i) { - printf("source %d is: %s\n", i, config.sources[i].log.c_str()); - } - printf("endpoint: %s\n", config.endpoint.c_str()); - printf("index: %s\n", config.index.c_str()); + printf("logforwarder:\n"); + printf(" deployment server: %s\n", config.deploymentServer.c_str()); + printf(" client name: %s\n", config.clientName.c_str()); } void |