Kea 2.7.5
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_DEPRECATED_OUTPUT_OPTIONS = "DCTL_DEPRECATED_OUTPUT_OPTIONS";
21extern const isc::log::MessageID DCTL_DEVELOPMENT_VERSION = "DCTL_DEVELOPMENT_VERSION";
22extern const isc::log::MessageID DCTL_INIT_PROCESS = "DCTL_INIT_PROCESS";
23extern const isc::log::MessageID DCTL_INIT_PROCESS_FAIL = "DCTL_INIT_PROCESS_FAIL";
24extern const isc::log::MessageID DCTL_NOT_RUNNING = "DCTL_NOT_RUNNING";
25extern const isc::log::MessageID DCTL_OPEN_CONFIG_DB = "DCTL_OPEN_CONFIG_DB";
26extern const isc::log::MessageID DCTL_PARSER_FAIL = "DCTL_PARSER_FAIL";
27extern const isc::log::MessageID DCTL_PID_FILE_ERROR = "DCTL_PID_FILE_ERROR";
28extern const isc::log::MessageID DCTL_PROCESS_FAILED = "DCTL_PROCESS_FAILED";
29extern const isc::log::MessageID DCTL_RUN_PROCESS = "DCTL_RUN_PROCESS";
30extern const isc::log::MessageID DCTL_SHUTDOWN = "DCTL_SHUTDOWN";
31extern const isc::log::MessageID DCTL_SHUTDOWN_SIGNAL_RECVD = "DCTL_SHUTDOWN_SIGNAL_RECVD";
32extern const isc::log::MessageID DCTL_STANDALONE = "DCTL_STANDALONE";
33extern const isc::log::MessageID DCTL_STARTING = "DCTL_STARTING";
34extern const isc::log::MessageID DCTL_UNLOAD_LIBRARIES_ERROR = "DCTL_UNLOAD_LIBRARIES_ERROR";
35extern const isc::log::MessageID DCTL_UNSUPPORTED_SIGNAL = "DCTL_UNSUPPORTED_SIGNAL";
36
37} // namespace process
38} // namespace isc
39
40namespace {
41
42const char* values[] = {
43 "DCTL_ALREADY_RUNNING", "%1 already running? %2",
44 "DCTL_CFG_FILE_RELOAD_ERROR", "configuration reload failed: %1, reverting to current configuration.",
45 "DCTL_CFG_FILE_RELOAD_SIGNAL_RECVD", "OS signal %1 received, reloading configuration from file: %2",
46 "DCTL_CONFIG_CHECK_COMPLETE", "server has completed configuration check: %1, result: %2",
47 "DCTL_CONFIG_COMPLETE", "server has completed configuration: %1",
48 "DCTL_CONFIG_DEPRECATED", "server configuration includes a deprecated object: %1",
49 "DCTL_CONFIG_FETCH", "Fetching configuration data from config backends.",
50 "DCTL_CONFIG_FILE_LOAD_FAIL", "%1 reason: %2",
51 "DCTL_CONFIG_START", "parsing new configuration: %1",
52 "DCTL_DB_OPEN_CONNECTION_WITH_RETRY_FAILED", "Failed to connect to database: %1 with error: %2",
53 "DCTL_DEPRECATED_OUTPUT_OPTIONS", "The output_options parameter is deprecated. Use output-options parameter instead.",
54 "DCTL_DEVELOPMENT_VERSION", "This software is a development branch of Kea. It is not recommended for production use.",
55 "DCTL_INIT_PROCESS", "%1 initializing the application",
56 "DCTL_INIT_PROCESS_FAIL", "%1 application initialization failed: %2",
57 "DCTL_NOT_RUNNING", "%1 application instance is not running",
58 "DCTL_OPEN_CONFIG_DB", "Opening configuration database: %1",
59 "DCTL_PARSER_FAIL", "Parser error: %1",
60 "DCTL_PID_FILE_ERROR", "%1 could not create a PID file: %2",
61 "DCTL_PROCESS_FAILED", "%1 application execution failed: %2",
62 "DCTL_RUN_PROCESS", "%1 starting application event loop",
63 "DCTL_SHUTDOWN", "%1 has shut down, pid: %2, version: %3",
64 "DCTL_SHUTDOWN_SIGNAL_RECVD", "OS signal %1 received, starting shutdown",
65 "DCTL_STANDALONE", "%1 skipping message queue, running standalone",
66 "DCTL_STARTING", "%1 starting, pid: %2, version: %3 (%4)",
67 "DCTL_UNLOAD_LIBRARIES_ERROR", "error unloading hooks libraries during shutdown: %1",
68 "DCTL_UNSUPPORTED_SIGNAL", "ignoring reception of unsupported signal: %1",
69 NULL
70};
71
72const isc::log::MessageInitializer initializer(values);
73
74} // Anonymous namespace
75
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_DEPRECATED_OUTPUT_OPTIONS
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.