| Kea 3.0.2-git

lfc_messages.cc
Go to the documentation of this file.
1// File created from src/bin/lfc/lfc_messages.mes
2
3#include <cstddef>
4#include <log/message_types.h>
5#include <log/message_initializer.h>
6
7 namespace isc {
8 namespace lfc {
9
10 extern const isc::log::MessageID LFC_FAIL_PID_CREATE = "LFC_FAIL_PID_CREATE";
11 extern const isc::log::MessageID LFC_FAIL_PID_DEL = "LFC_FAIL_PID_DEL";
12 extern const isc::log::MessageID LFC_FAIL_PROCESS = "LFC_FAIL_PROCESS";
13 extern const isc::log::MessageID LFC_FAIL_ROTATE = "LFC_FAIL_ROTATE";
14 extern const isc::log::MessageID LFC_PROCESSING = "LFC_PROCESSING";
15 extern const isc::log::MessageID LFC_READ_STATS = "LFC_READ_STATS";
16 extern const isc::log::MessageID LFC_ROTATING = "LFC_ROTATING";
17 extern const isc::log::MessageID LFC_RUNNING = "LFC_RUNNING";
18 extern const isc::log::MessageID LFC_START = "LFC_START";
19 extern const isc::log::MessageID LFC_TERMINATE = "LFC_TERMINATE";
20 extern const isc::log::MessageID LFC_WRITE_STATS = "LFC_WRITE_STATS";
21
22} // namespace lfc
23} // namespace isc
24
25 namespace {
26
27 const char* values[] = {
28 "LFC_FAIL_PID_CREATE", ": %1",
29 "LFC_FAIL_PID_DEL", ": %1",
30 "LFC_FAIL_PROCESS", ": %1",
31 "LFC_FAIL_ROTATE", ": %1",
32 "LFC_PROCESSING", "Previous file: %1, copy file: %2",
33 "LFC_READ_STATS", "Leases: %1, attempts: %2, errors: %3.",
34 "LFC_ROTATING", "LFC rotating files",
35 "LFC_RUNNING", "LFC instance already running",
36 "LFC_START", "Starting lease file cleanup",
37 "LFC_TERMINATE", "LFC finished processing",
38 "LFC_WRITE_STATS", "Leases: %1, attempts: %2, errors: %3.",
39 NULL
40};
41
42 const isc::log::MessageInitializer initializer(values);
43
44} // Anonymous namespace
45
isc::log::MessageInitializer
Initialize Message Dictionary.
Definition message_initializer.h:72
message_initializer.h
message_types.h
isc::lfc
Definition lfc_controller.cc:41
isc::lfc::LFC_FAIL_PROCESS
const isc::log::MessageID LFC_FAIL_PROCESS
Definition lfc_messages.h:13
isc::lfc::LFC_START
const isc::log::MessageID LFC_START
Definition lfc_messages.h:19
isc::lfc::LFC_TERMINATE
const isc::log::MessageID LFC_TERMINATE
Definition lfc_messages.h:20
isc::lfc::LFC_FAIL_PID_DEL
const isc::log::MessageID LFC_FAIL_PID_DEL
Definition lfc_messages.h:12
isc::lfc::LFC_FAIL_ROTATE
const isc::log::MessageID LFC_FAIL_ROTATE
Definition lfc_messages.h:14
isc::lfc::LFC_RUNNING
const isc::log::MessageID LFC_RUNNING
Definition lfc_messages.h:18
isc::lfc::LFC_WRITE_STATS
const isc::log::MessageID LFC_WRITE_STATS
Definition lfc_messages.h:21
isc::lfc::LFC_FAIL_PID_CREATE
const isc::log::MessageID LFC_FAIL_PID_CREATE
Definition lfc_messages.h:11
isc::lfc::LFC_PROCESSING
const isc::log::MessageID LFC_PROCESSING
Definition lfc_messages.h:15
isc::lfc::LFC_ROTATING
const isc::log::MessageID LFC_ROTATING
Definition lfc_messages.h:17
isc::lfc::LFC_READ_STATS
const isc::log::MessageID LFC_READ_STATS
Definition lfc_messages.h:16
isc::log::MessageID
const char * MessageID
Definition message_types.h:15
isc
Defines the logger used by the top-level component of kea-lfc.
Definition agent_parser.cc:148