Kea  2.3.2-git
dhcp6_log.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2021 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
7 #ifndef DHCP6_LOG_H
8 #define DHCP6_LOG_H
9 
10 #include <dhcp6/dhcp6_messages.h>
11 #include <log/logger_support.h>
12 #include <log/log_dbglevels.h>
13 #include <log/macros.h>
14 
15 namespace isc {
16 namespace dhcp {
17 
19 
20 
22 extern const int DBG_DHCP6_START;
23 
25 extern const int DBG_DHCP6_SHUT;
26 
28 extern const int DBG_DHCP6_COMMAND;
29 
31 extern const int DBG_DHCP6_BASIC;
32 
34 extern const int DBG_DHCP6_HOOKS;
35 
43 extern const int DBG_DHCP6_BASIC_DATA;
44 
51 extern const int DBG_DHCP6_DETAIL;
52 
54 extern const int DBG_DHCP6_DETAIL_DATA;
55 
57 
59 
60 
62 extern const char* DHCP6_ROOT_LOGGER_NAME;
63 
65 extern const char* DHCP6_APP_LOGGER_NAME;
66 
68 extern const char* DHCP6_BAD_PACKET_LOGGER_NAME;
69 
71 extern const char* DHCP6_PACKET_LOGGER_NAME;
72 
74 extern const char* DHCP6_OPTIONS_LOGGER_NAME;
75 
77 extern const char* DHCP6_DDNS_LOGGER_NAME;
78 
80 extern const char* DHCP6_LEASE_LOGGER_NAME;
81 
83 
85 
86 
89 
95 
101 
107 
113 
118 
120 
121 } // namespace dhcp6
122 } // namespace isc
123 
124 #endif // DHCP6_LOG_H
const int DBG_DHCP6_BASIC_DATA
Debug level used to log the traces with some basic data.
Definition: dhcp6_log.h:43
Logger Class.
Definition: log/logger.h:142
isc::log::Logger packet6_logger(DHCP6_PACKET_LOGGER_NAME)
Logger for processed packets.
Definition: dhcp6_log.h:100
const char * DHCP6_APP_LOGGER_NAME
Name of the base logger for DHCPv6 server.
Definition: dhcp6_log.cc:27
const char * DHCP6_OPTIONS_LOGGER_NAME
Name of the logger for options parser.
Definition: dhcp6_log.cc:30
isc::log::Logger ddns6_logger(DHCP6_DDNS_LOGGER_NAME)
Logger for Hostname or FQDN processing.
Definition: dhcp6_log.h:112
isc::log::Logger options6_logger(DHCP6_OPTIONS_LOGGER_NAME)
Logger for options parser.
Definition: dhcp6_log.h:106
isc::log::Logger lease6_logger(DHCP6_LEASE_LOGGER_NAME)
Logger for lease allocation logic.
Definition: dhcp6_log.h:117
const int DBG_DHCP6_HOOKS
Debug level used to trace hook related operations.
Definition: dhcp6_log.h:34
const int DBG_DHCP6_BASIC
Debug level used to trace basic operations within the code.
Definition: dhcp6_log.h:31
const char * DHCP6_ROOT_LOGGER_NAME
Defines the name of the root level (default) logger.
Definition: dhcp6_log.cc:26
const int DBG_DHCP6_SHUT
Debug level used to log information during server shutdown.
Definition: dhcp6_log.h:25
const int DBG_DHCP6_START
Debug level used to log information during server startup.
Definition: dhcp6_log.h:22
const int DBG_DHCP6_COMMAND
Debug level used to log receiving commands.
Definition: dhcp6_log.h:28
const int DBG_DHCP6_DETAIL
Debug level used to trace detailed errors.
Definition: dhcp6_log.h:51
Defines the logger used by the top-level component of kea-lfc.
const char * DHCP6_DDNS_LOGGER_NAME
Name of the logger for hostname or FQDN processing.
Definition: dhcp6_log.cc:31
const int DBG_DHCP6_DETAIL_DATA
This level is used to log the contents of packets received and sent.
Definition: dhcp6_log.h:54
const char * DHCP6_LEASE_LOGGER_NAME
Name of the logger for lease allocation logic.
Definition: dhcp6_log.cc:32
Logging initialization functions.
const char * DHCP6_PACKET_LOGGER_NAME
Name of the logger for processed packets.
Definition: dhcp6_log.cc:29
const char * DHCP6_BAD_PACKET_LOGGER_NAME
Name of the logger for rejected packets.
Definition: dhcp6_log.cc:28
isc::log::Logger bad_packet6_logger(DHCP6_BAD_PACKET_LOGGER_NAME)
Logger for rejected packets.
Definition: dhcp6_log.h:94
isc::log::Logger dhcp6_logger(DHCP6_APP_LOGGER_NAME)
Base logger for DHCPv6 server.
Definition: dhcp6_log.h:88
When a message is logged with DEBUG severity, the debug level associated with the message is also spe...