Kea  2.3.5-git
ca_messages.cc
Go to the documentation of this file.
1 // File created from ../../../src/bin/agent/ca_messages.mes
2 
3 #include <cstddef>
4 #include <log/message_types.h>
6 
7 namespace isc {
8 namespace agent {
9 
10 extern const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARDED = "CTRL_AGENT_COMMAND_FORWARDED";
11 extern const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARD_BEGIN = "CTRL_AGENT_COMMAND_FORWARD_BEGIN";
12 extern const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARD_FAILED = "CTRL_AGENT_COMMAND_FORWARD_FAILED";
13 extern const isc::log::MessageID CTRL_AGENT_COMMAND_RECEIVED = "CTRL_AGENT_COMMAND_RECEIVED";
14 extern const isc::log::MessageID CTRL_AGENT_CONFIG_CHECK_FAIL = "CTRL_AGENT_CONFIG_CHECK_FAIL";
15 extern const isc::log::MessageID CTRL_AGENT_CONFIG_FAIL = "CTRL_AGENT_CONFIG_FAIL";
16 extern const isc::log::MessageID CTRL_AGENT_CONFIG_SYNTAX_WARNING = "CTRL_AGENT_CONFIG_SYNTAX_WARNING";
17 extern const isc::log::MessageID CTRL_AGENT_FAILED = "CTRL_AGENT_FAILED";
18 extern const isc::log::MessageID CTRL_AGENT_HTTPS_SERVICE_STARTED = "CTRL_AGENT_HTTPS_SERVICE_STARTED";
19 extern const isc::log::MessageID CTRL_AGENT_HTTP_SERVICE_STARTED = "CTRL_AGENT_HTTP_SERVICE_STARTED";
20 extern const isc::log::MessageID CTRL_AGENT_RUN_EXIT = "CTRL_AGENT_RUN_EXIT";
21 extern const isc::log::MessageID CTRL_AGENT_STARTED = "CTRL_AGENT_STARTED";
22 
23 } // namespace agent
24 } // namespace isc
25 
26 namespace {
27 
28 const char* values[] = {
29  "CTRL_AGENT_COMMAND_FORWARDED", "command %1 successfully forwarded to the service %2 from remote address %3",
30  "CTRL_AGENT_COMMAND_FORWARD_BEGIN", "begin forwarding command %1 to service %2",
31  "CTRL_AGENT_COMMAND_FORWARD_FAILED", "failed forwarding command %1: %2",
32  "CTRL_AGENT_COMMAND_RECEIVED", "command %1 received from remote address %2",
33  "CTRL_AGENT_CONFIG_CHECK_FAIL", "Control Agent configuration check failed: %1",
34  "CTRL_AGENT_CONFIG_FAIL", "Control Agent configuration failed: %1",
35  "CTRL_AGENT_CONFIG_SYNTAX_WARNING", "Control Agent configuration syntax warning: %1",
36  "CTRL_AGENT_FAILED", "application experienced a fatal error: %1",
37  "CTRL_AGENT_HTTPS_SERVICE_STARTED", "HTTPS service bound to address %1:%2",
38  "CTRL_AGENT_HTTP_SERVICE_STARTED", "HTTP service bound to address %1:%2",
39  "CTRL_AGENT_RUN_EXIT", "application is exiting the event loop",
40  "CTRL_AGENT_STARTED", "Kea Control Agent version %1 started",
41  NULL
42 };
43 
44 const isc::log::MessageInitializer initializer(values);
45 
46 } // Anonymous namespace
47 
const isc::log::MessageID CTRL_AGENT_STARTED
Definition: ca_messages.h:22
const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARD_BEGIN
Definition: ca_messages.h:12
const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARD_FAILED
Definition: ca_messages.h:13
const isc::log::MessageID CTRL_AGENT_CONFIG_SYNTAX_WARNING
Definition: ca_messages.h:17
Initialize Message Dictionary.
const isc::log::MessageID CTRL_AGENT_CONFIG_CHECK_FAIL
Definition: ca_messages.h:15
const isc::log::MessageID CTRL_AGENT_FAILED
Definition: ca_messages.h:18
const isc::log::MessageID CTRL_AGENT_HTTPS_SERVICE_STARTED
Definition: ca_messages.h:19
const isc::log::MessageID CTRL_AGENT_COMMAND_RECEIVED
Definition: ca_messages.h:14
const isc::log::MessageID CTRL_AGENT_RUN_EXIT
Definition: ca_messages.h:21
Defines the logger used by the top-level component of kea-lfc.
const isc::log::MessageID CTRL_AGENT_CONFIG_FAIL
Definition: ca_messages.h:16
const isc::log::MessageID CTRL_AGENT_HTTP_SERVICE_STARTED
Definition: ca_messages.h:20
const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARDED
Definition: ca_messages.h:11
const char * MessageID
Definition: message_types.h:15