summaryrefslogtreecommitdiffstats
path: root/src/bin/agent/ca_messages.cc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bin/agent/ca_messages.cc47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/bin/agent/ca_messages.cc b/src/bin/agent/ca_messages.cc
new file mode 100644
index 0000000..4c9df2b
--- /dev/null
+++ b/src/bin/agent/ca_messages.cc
@@ -0,0 +1,47 @@
+// File created from ../../../src/bin/agent/ca_messages.mes
+
+#include <cstddef>
+#include <log/message_types.h>
+#include <log/message_initializer.h>
+
+namespace isc {
+namespace agent {
+
+extern const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARDED = "CTRL_AGENT_COMMAND_FORWARDED";
+extern const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARD_BEGIN = "CTRL_AGENT_COMMAND_FORWARD_BEGIN";
+extern const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARD_FAILED = "CTRL_AGENT_COMMAND_FORWARD_FAILED";
+extern const isc::log::MessageID CTRL_AGENT_COMMAND_RECEIVED = "CTRL_AGENT_COMMAND_RECEIVED";
+extern const isc::log::MessageID CTRL_AGENT_CONFIG_CHECK_FAIL = "CTRL_AGENT_CONFIG_CHECK_FAIL";
+extern const isc::log::MessageID CTRL_AGENT_CONFIG_FAIL = "CTRL_AGENT_CONFIG_FAIL";
+extern const isc::log::MessageID CTRL_AGENT_CONFIG_SYNTAX_WARNING = "CTRL_AGENT_CONFIG_SYNTAX_WARNING";
+extern const isc::log::MessageID CTRL_AGENT_FAILED = "CTRL_AGENT_FAILED";
+extern const isc::log::MessageID CTRL_AGENT_HTTPS_SERVICE_STARTED = "CTRL_AGENT_HTTPS_SERVICE_STARTED";
+extern const isc::log::MessageID CTRL_AGENT_HTTP_SERVICE_STARTED = "CTRL_AGENT_HTTP_SERVICE_STARTED";
+extern const isc::log::MessageID CTRL_AGENT_RUN_EXIT = "CTRL_AGENT_RUN_EXIT";
+extern const isc::log::MessageID CTRL_AGENT_STARTED = "CTRL_AGENT_STARTED";
+
+} // namespace agent
+} // namespace isc
+
+namespace {
+
+const char* values[] = {
+ "CTRL_AGENT_COMMAND_FORWARDED", "command %1 successfully forwarded to the service %2 from remote address %3",
+ "CTRL_AGENT_COMMAND_FORWARD_BEGIN", "begin forwarding command %1 to service %2",
+ "CTRL_AGENT_COMMAND_FORWARD_FAILED", "failed forwarding command %1: %2",
+ "CTRL_AGENT_COMMAND_RECEIVED", "command %1 received from remote address %2",
+ "CTRL_AGENT_CONFIG_CHECK_FAIL", "Control Agent configuration check failed: %1",
+ "CTRL_AGENT_CONFIG_FAIL", "Control Agent configuration failed: %1",
+ "CTRL_AGENT_CONFIG_SYNTAX_WARNING", "Control Agent configuration syntax warning: %1",
+ "CTRL_AGENT_FAILED", "application experienced a fatal error: %1",
+ "CTRL_AGENT_HTTPS_SERVICE_STARTED", "HTTPS service bound to address %1:%2",
+ "CTRL_AGENT_HTTP_SERVICE_STARTED", "HTTP service bound to address %1:%2",
+ "CTRL_AGENT_RUN_EXIT", "application is exiting the event loop",
+ "CTRL_AGENT_STARTED", "Kea Control Agent version %1 started",
+ NULL
+};
+
+const isc::log::MessageInitializer initializer(values);
+
+} // Anonymous namespace
+