Kea 2.7.4
process_messages.cc
Go to the documentation of this file.
1// File created from ../../../src/lib/process/process_messages.mes
2
3#include <cstddef>
4#include <log/message_types.h>
6
7namespace isc {
8namespace process {
9
10extern const isc::log::MessageID DCTL_ALREADY_RUNNING = "DCTL_ALREADY_RUNNING";
11extern const isc::log::MessageID DCTL_CFG_FILE_RELOAD_ERROR = "DCTL_CFG_FILE_RELOAD_ERROR";
12extern const isc::log::MessageID DCTL_CFG_FILE_RELOAD_SIGNAL_RECVD = "DCTL_CFG_FILE_RELOAD_SIGNAL_RECVD";
13extern const isc::log::MessageID DCTL_CONFIG_CHECK_COMPLETE = "DCTL_CONFIG_CHECK_COMPLETE";
14extern const isc::log::MessageID DCTL_CONFIG_COMPLETE = "DCTL_CONFIG_COMPLETE";
15extern const isc::log::MessageID DCTL_CONFIG_DEPRECATED = "DCTL_CONFIG_DEPRECATED";
16extern const isc::log::MessageID DCTL_CONFIG_FETCH = "DCTL_CONFIG_FETCH";
17extern const isc::log::MessageID DCTL_CONFIG_FILE_LOAD_FAIL = "DCTL_CONFIG_FILE_LOAD_FAIL";
18extern const isc::log::MessageID DCTL_CONFIG_START = "DCTL_CONFIG_START";
19extern const isc::log::MessageID DCTL_DB_OPEN_CONNECTION_WITH_RETRY_FAILED = "DCTL_DB_OPEN_CONNECTION_WITH_RETRY_FAILED";
20extern const isc::log::MessageID DCTL_DEVELOPMENT_VERSION = "DCTL_DEVELOPMENT_VERSION";
21extern const isc::log::MessageID DCTL_INIT_PROCESS = "DCTL_INIT_PROCESS";
22extern const isc::log::MessageID DCTL_INIT_PROCESS_FAIL = "DCTL_INIT_PROCESS_FAIL";
23extern const isc::log::MessageID DCTL_NOT_RUNNING = "DCTL_NOT_RUNNING";
24extern const isc::log::MessageID DCTL_OPEN_CONFIG_DB = "DCTL_OPEN_CONFIG_DB";
25extern const isc::log::MessageID DCTL_PARSER_FAIL = "DCTL_PARSER_FAIL";
26extern const isc::log::MessageID DCTL_PID_FILE_ERROR = "DCTL_PID_FILE_ERROR";
27extern const isc::log::MessageID DCTL_PROCESS_FAILED = "DCTL_PROCESS_FAILED";
28extern const isc::log::MessageID DCTL_RUN_PROCESS = "DCTL_RUN_PROCESS";
29extern const isc::log::MessageID DCTL_SHUTDOWN = "DCTL_SHUTDOWN";
30extern const isc::log::MessageID DCTL_SHUTDOWN_SIGNAL_RECVD = "DCTL_SHUTDOWN_SIGNAL_RECVD";
31extern const isc::log::MessageID DCTL_STANDALONE = "DCTL_STANDALONE";
32extern const isc::log::MessageID DCTL_STARTING = "DCTL_STARTING";
33extern const isc::log::MessageID DCTL_UNLOAD_LIBRARIES_ERROR = "DCTL_UNLOAD_LIBRARIES_ERROR";
34extern const isc::log::MessageID DCTL_UNSUPPORTED_SIGNAL = "DCTL_UNSUPPORTED_SIGNAL";
35
36} // namespace process
37} // namespace isc
38
39namespace {
40
41const char* values[] = {
42 "DCTL_ALREADY_RUNNING", "%1 already running? %2",
43 "DCTL_CFG_FILE_RELOAD_ERROR", "configuration reload failed: %1, reverting to current configuration.",
44 "DCTL_CFG_FILE_RELOAD_SIGNAL_RECVD", "OS signal %1 received, reloading configuration from file: %2",
45 "DCTL_CONFIG_CHECK_COMPLETE", "server has completed configuration check: %1, result: %2",
46 "DCTL_CONFIG_COMPLETE", "server has completed configuration: %1",
47 "DCTL_CONFIG_DEPRECATED", "server configuration includes a deprecated object: %1",
48 "DCTL_CONFIG_FETCH", "Fetching configuration data from config backends.",
49 "DCTL_CONFIG_FILE_LOAD_FAIL", "%1 reason: %2",
50 "DCTL_CONFIG_START", "parsing new configuration: %1",
51 "DCTL_DB_OPEN_CONNECTION_WITH_RETRY_FAILED", "Failed to connect to database: %1 with error: %2",
52 "DCTL_DEVELOPMENT_VERSION", "This software is a development branch of Kea. It is not recommended for production use.",
53 "DCTL_INIT_PROCESS", "%1 initializing the application",
54 "DCTL_INIT_PROCESS_FAIL", "%1 application initialization failed: %2",
55 "DCTL_NOT_RUNNING", "%1 application instance is not running",
56 "DCTL_OPEN_CONFIG_DB", "Opening configuration database: %1",
57 "DCTL_PARSER_FAIL", "Parser error: %1",
58 "DCTL_PID_FILE_ERROR", "%1 could not create a PID file: %2",
59 "DCTL_PROCESS_FAILED", "%1 application execution failed: %2",
60 "DCTL_RUN_PROCESS", "%1 starting application event loop",
61 "DCTL_SHUTDOWN", "%1 has shut down, pid: %2, version: %3",
62 "DCTL_SHUTDOWN_SIGNAL_RECVD", "OS signal %1 received, starting shutdown",
63 "DCTL_STANDALONE", "%1 skipping message queue, running standalone",
64 "DCTL_STARTING", "%1 starting, pid: %2, version: %3 (%4)",
65 "DCTL_UNLOAD_LIBRARIES_ERROR", "error unloading hooks libraries during shutdown: %1",
66 "DCTL_UNSUPPORTED_SIGNAL", "ignoring reception of unsupported signal: %1",
67 NULL
68};
69
70const isc::log::MessageInitializer initializer(values);
71
72} // Anonymous namespace
73
Initialize Message Dictionary.
const char * MessageID
const isc::log::MessageID DCTL_CONFIG_START
const isc::log::MessageID DCTL_DEVELOPMENT_VERSION
const isc::log::MessageID DCTL_SHUTDOWN
const isc::log::MessageID DCTL_CFG_FILE_RELOAD_ERROR
const isc::log::MessageID DCTL_CFG_FILE_RELOAD_SIGNAL_RECVD
const isc::log::MessageID DCTL_RUN_PROCESS
const isc::log::MessageID DCTL_STANDALONE
const isc::log::MessageID DCTL_CONFIG_CHECK_COMPLETE
const isc::log::MessageID DCTL_PID_FILE_ERROR
const isc::log::MessageID DCTL_OPEN_CONFIG_DB
const isc::log::MessageID DCTL_UNLOAD_LIBRARIES_ERROR
const isc::log::MessageID DCTL_CONFIG_FETCH
const isc::log::MessageID DCTL_STARTING
const isc::log::MessageID DCTL_PROCESS_FAILED
const isc::log::MessageID DCTL_SHUTDOWN_SIGNAL_RECVD
const isc::log::MessageID DCTL_INIT_PROCESS_FAIL
const isc::log::MessageID DCTL_PARSER_FAIL
const isc::log::MessageID DCTL_ALREADY_RUNNING
const isc::log::MessageID DCTL_DB_OPEN_CONNECTION_WITH_RETRY_FAILED
const isc::log::MessageID DCTL_CONFIG_COMPLETE
const isc::log::MessageID DCTL_NOT_RUNNING
const isc::log::MessageID DCTL_CONFIG_FILE_LOAD_FAIL
const isc::log::MessageID DCTL_CONFIG_DEPRECATED
const isc::log::MessageID DCTL_UNSUPPORTED_SIGNAL
const isc::log::MessageID DCTL_INIT_PROCESS
Defines the logger used by the top-level component of kea-lfc.