Kea 2.7.5
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>
6
7namespace isc {
8namespace lfc {
9
10extern const isc::log::MessageID LFC_FAIL_PID_CREATE = "LFC_FAIL_PID_CREATE";
11extern const isc::log::MessageID LFC_FAIL_PID_DEL = "LFC_FAIL_PID_DEL";
12extern const isc::log::MessageID LFC_FAIL_PROCESS = "LFC_FAIL_PROCESS";
13extern const isc::log::MessageID LFC_FAIL_ROTATE = "LFC_FAIL_ROTATE";
14extern const isc::log::MessageID LFC_PROCESSING = "LFC_PROCESSING";
15extern const isc::log::MessageID LFC_READ_STATS = "LFC_READ_STATS";
16extern const isc::log::MessageID LFC_ROTATING = "LFC_ROTATING";
17extern const isc::log::MessageID LFC_RUNNING = "LFC_RUNNING";
18extern const isc::log::MessageID LFC_START = "LFC_START";
19extern const isc::log::MessageID LFC_TERMINATE = "LFC_TERMINATE";
20extern const isc::log::MessageID LFC_WRITE_STATS = "LFC_WRITE_STATS";
21
22} // namespace lfc
23} // namespace isc
24
25namespace {
26
27const 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
42const isc::log::MessageInitializer initializer(values);
43
44} // Anonymous namespace
45
Initialize Message Dictionary.
const isc::log::MessageID LFC_FAIL_PROCESS
const isc::log::MessageID LFC_START
const isc::log::MessageID LFC_TERMINATE
const isc::log::MessageID LFC_FAIL_PID_DEL
const isc::log::MessageID LFC_FAIL_ROTATE
const isc::log::MessageID LFC_RUNNING
const isc::log::MessageID LFC_WRITE_STATS
const isc::log::MessageID LFC_FAIL_PID_CREATE
const isc::log::MessageID LFC_PROCESSING
const isc::log::MessageID LFC_ROTATING
const isc::log::MessageID LFC_READ_STATS
const char * MessageID
Defines the logger used by the top-level component of kea-lfc.