Kea: legal_log_messages.cc Source File

| Kea 3.2.0-git

legal_log_messages.cc
Go to the documentation of this file.
1// File created from src/hooks/dhcp/forensic_log/legal_log_messages.mes
2
3#include <cstddef>
4#include <log/message_types.h>
5#include <log/message_initializer.h>
6
7extern const isc::log::MessageID LEGAL_LOG_COMMAND_NO_LEGAL_STORE = "LEGAL_LOG_COMMAND_NO_LEGAL_STORE";
8extern const isc::log::MessageID LEGAL_LOG_COMMAND_WRITE_ERROR = "LEGAL_LOG_COMMAND_WRITE_ERROR";
9extern const isc::log::MessageID LEGAL_LOG_DB_OPEN_CONNECTION_WITH_RETRY_FAILED = "LEGAL_LOG_DB_OPEN_CONNECTION_WITH_RETRY_FAILED";
10extern const isc::log::MessageID LEGAL_LOG_LEASE4_NO_LEGAL_STORE = "LEGAL_LOG_LEASE4_NO_LEGAL_STORE";
11extern const isc::log::MessageID LEGAL_LOG_LEASE4_WRITE_ERROR = "LEGAL_LOG_LEASE4_WRITE_ERROR";
12extern const isc::log::MessageID LEGAL_LOG_LEASE6_NO_LEGAL_STORE = "LEGAL_LOG_LEASE6_NO_LEGAL_STORE";
13extern const isc::log::MessageID LEGAL_LOG_LEASE6_WRITE_ERROR = "LEGAL_LOG_LEASE6_WRITE_ERROR";
14extern const isc::log::MessageID LEGAL_LOG_LOAD_ERROR = "LEGAL_LOG_LOAD_ERROR";
15extern const isc::log::MessageID LEGAL_LOG_STORE_CLOSED = "LEGAL_LOG_STORE_CLOSED";
16extern const isc::log::MessageID LEGAL_LOG_STORE_CLOSE_ERROR = "LEGAL_LOG_STORE_CLOSE_ERROR";
17extern const isc::log::MessageID LEGAL_LOG_STORE_OPEN = "LEGAL_LOG_STORE_OPEN";
18extern const isc::log::MessageID LEGAL_LOG_STORE_OPENED = "LEGAL_LOG_STORE_OPENED";
19extern const isc::log::MessageID LEGAL_LOG_SYSLOG = "LEGAL_LOG_SYSLOG";
20extern const isc::log::MessageID LEGAL_LOG_SYSLOG_STORE_OPEN = "LEGAL_LOG_SYSLOG_STORE_OPEN";
21extern const isc::log::MessageID LEGAL_LOG_UNLOAD_ERROR = "LEGAL_LOG_UNLOAD_ERROR";
22
23namespace {
24
25const char* values[] = {
26 "LEGAL_LOG_COMMAND_NO_LEGAL_STORE", "LegalStore instance is null",
27 "LEGAL_LOG_COMMAND_WRITE_ERROR", "Could not write command entry to the legal store: %1",
28 "LEGAL_LOG_DB_OPEN_CONNECTION_WITH_RETRY_FAILED", "Failed to connect to database: %1 with error: %2",
29 "LEGAL_LOG_LEASE4_NO_LEGAL_STORE", "LegalStore instance is null",
30 "LEGAL_LOG_LEASE4_WRITE_ERROR", "Could not write to the legal store: %1",
31 "LEGAL_LOG_LEASE6_NO_LEGAL_STORE", "LegalStore instance is null",
32 "LEGAL_LOG_LEASE6_WRITE_ERROR", "Could not write to the legal store: %1",
33 "LEGAL_LOG_LOAD_ERROR", "LEGAL LOGGING DISABLED! An error occurred loading the library: %1",
34 "LEGAL_LOG_STORE_CLOSED", "Legal store closed: %1",
35 "LEGAL_LOG_STORE_CLOSE_ERROR", "An error occurred closing the store: %1, error: %2",
36 "LEGAL_LOG_STORE_OPEN", "opening Legal Log file: %1",
37 "LEGAL_LOG_STORE_OPENED", "Legal store opened: %1",
38 "LEGAL_LOG_SYSLOG", "%1",
39 "LEGAL_LOG_SYSLOG_STORE_OPEN", "opening Legal Syslog: %1",
40 "LEGAL_LOG_UNLOAD_ERROR", "An error occurred unloading the library: %1",
41 NULL
42};
43
44const isc::log::MessageInitializer initializer(values);
45
46} // Anonymous namespace
47
isc::log::MessageInitializer
Initialize Message Dictionary.
Definition message_initializer.h:72
LEGAL_LOG_STORE_OPEN
const isc::log::MessageID LEGAL_LOG_STORE_OPEN
LEGAL_LOG_STORE_CLOSE_ERROR
const isc::log::MessageID LEGAL_LOG_STORE_CLOSE_ERROR
LEGAL_LOG_LEASE6_NO_LEGAL_STORE
const isc::log::MessageID LEGAL_LOG_LEASE6_NO_LEGAL_STORE
LEGAL_LOG_LEASE4_NO_LEGAL_STORE
const isc::log::MessageID LEGAL_LOG_LEASE4_NO_LEGAL_STORE
LEGAL_LOG_STORE_OPENED
const isc::log::MessageID LEGAL_LOG_STORE_OPENED
LEGAL_LOG_UNLOAD_ERROR
const isc::log::MessageID LEGAL_LOG_UNLOAD_ERROR
LEGAL_LOG_COMMAND_NO_LEGAL_STORE
const isc::log::MessageID LEGAL_LOG_COMMAND_NO_LEGAL_STORE
LEGAL_LOG_LEASE6_WRITE_ERROR
const isc::log::MessageID LEGAL_LOG_LEASE6_WRITE_ERROR
LEGAL_LOG_STORE_CLOSED
const isc::log::MessageID LEGAL_LOG_STORE_CLOSED
LEGAL_LOG_LOAD_ERROR
const isc::log::MessageID LEGAL_LOG_LOAD_ERROR
LEGAL_LOG_COMMAND_WRITE_ERROR
const isc::log::MessageID LEGAL_LOG_COMMAND_WRITE_ERROR
LEGAL_LOG_LEASE4_WRITE_ERROR
const isc::log::MessageID LEGAL_LOG_LEASE4_WRITE_ERROR
LEGAL_LOG_SYSLOG
const isc::log::MessageID LEGAL_LOG_SYSLOG
LEGAL_LOG_DB_OPEN_CONNECTION_WITH_RETRY_FAILED
const isc::log::MessageID LEGAL_LOG_DB_OPEN_CONNECTION_WITH_RETRY_FAILED
LEGAL_LOG_SYSLOG_STORE_OPEN
const isc::log::MessageID LEGAL_LOG_SYSLOG_STORE_OPEN
message_initializer.h
message_types.h
isc::log::MessageID
const char * MessageID
Definition message_types.h:15