Kea  1.5.0
dhcp6_log.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 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/macros.h>
13 
14 namespace isc {
15 namespace dhcp {
16 
18 
19 
21 extern const int DBG_DHCP6_START;
22 
24 extern const int DBG_DHCP6_SHUT;
25 
27 extern const int DBG_DHCP6_COMMAND;
28 
30 extern const int DBG_DHCP6_BASIC;
31 
33 extern const int DBG_DHCP6_HOOKS;
34 
42 extern const int DBG_DHCP6_BASIC_DATA;
43 
50 extern const int DBG_DHCP6_DETAIL;
51 
53 extern const int DBG_DHCP6_DETAIL_DATA;
54 
56 
58 
59 
61 extern const char* DHCP6_ROOT_LOGGER_NAME;
62 
64 extern const char* DHCP6_APP_LOGGER_NAME;
65 
67 extern const char* DHCP6_BAD_PACKET_LOGGER_NAME;
68 
70 extern const char* DHCP6_PACKET_LOGGER_NAME;
71 
73 extern const char* DHCP6_OPTIONS_LOGGER_NAME;
74 
76 extern const char* DHCP6_DDNS_LOGGER_NAME;
77 
79 extern const char* DHCP6_LEASE_LOGGER_NAME;
80 
82 
84 
85 
88 
94 
100 
106 
112 
117 
119 
120 } // namespace dhcp6
121 } // namespace isc
122 
123 #endif // DHCP6_LOG_H
isc::log::Logger
Logger Class.
Definition: log/logger.h:143
isc::dhcp::DBG_DHCP6_HOOKS
const int DBG_DHCP6_HOOKS
Debug level used to trace hook related operations.
Definition: dhcp6_log.h:33
isc::dhcp::DHCP6_ROOT_LOGGER_NAME
const char * DHCP6_ROOT_LOGGER_NAME
Defines the name of the root level (default) logger.
Definition: dhcp6_log.cc:26
isc::dhcp::DHCP6_PACKET_LOGGER_NAME
const char * DHCP6_PACKET_LOGGER_NAME
Name of the logger for processed packets.
Definition: dhcp6_log.cc:29
isc::dhcp::packet6_logger
isc::log::Logger packet6_logger(DHCP6_PACKET_LOGGER_NAME)
Logger for processed packets.
Definition: dhcp6_log.h:99
isc::dhcp::dhcp6_logger
isc::log::Logger dhcp6_logger(DHCP6_APP_LOGGER_NAME)
Base logger for DHCPv6 server.
Definition: dhcp6_log.h:87
isc::dhcp::DHCP6_BAD_PACKET_LOGGER_NAME
const char * DHCP6_BAD_PACKET_LOGGER_NAME
Name of the logger for rejected packets.
Definition: dhcp6_log.cc:28
isc::dhcp::options6_logger
isc::log::Logger options6_logger(DHCP6_OPTIONS_LOGGER_NAME)
Logger for options parser.
Definition: dhcp6_log.h:105
isc::dhcp::DHCP6_LEASE_LOGGER_NAME
const char * DHCP6_LEASE_LOGGER_NAME
Name of the logger for lease allocation logic.
Definition: dhcp6_log.cc:32
macros.h
isc::dhcp::DBG_DHCP6_COMMAND
const int DBG_DHCP6_COMMAND
Debug level used to log receiving commands.
Definition: dhcp6_log.h:27
isc::dhcp::DHCP6_DDNS_LOGGER_NAME
const char * DHCP6_DDNS_LOGGER_NAME
Name of the logger for hostname or FQDN processing.
Definition: dhcp6_log.cc:31
isc::dhcp::ddns6_logger
isc::log::Logger ddns6_logger(DHCP6_DDNS_LOGGER_NAME)
Logger for Hostname or FQDN processing.
Definition: dhcp6_log.h:111
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition: agent_parser.cc:144
isc::dhcp::DBG_DHCP6_SHUT
const int DBG_DHCP6_SHUT
Debug level used to log information during server shutdown.
Definition: dhcp6_log.h:24
isc::dhcp::bad_packet6_logger
isc::log::Logger bad_packet6_logger(DHCP6_BAD_PACKET_LOGGER_NAME)
Logger for rejected packets.
Definition: dhcp6_log.h:93
isc::dhcp::DBG_DHCP6_START
const int DBG_DHCP6_START
Debug level used to log information during server startup.
Definition: dhcp6_log.h:21
isc::dhcp::DBG_DHCP6_BASIC_DATA
const int DBG_DHCP6_BASIC_DATA
Debug level used to log the traces with some basic data.
Definition: dhcp6_log.h:42
isc::dhcp::DBG_DHCP6_DETAIL_DATA
const int DBG_DHCP6_DETAIL_DATA
This level is used to log the contents of packets received and sent.
Definition: dhcp6_log.h:53
isc::dhcp::DBG_DHCP6_DETAIL
const int DBG_DHCP6_DETAIL
Debug level used to trace detailed errors.
Definition: dhcp6_log.h:50
isc::dhcp::DHCP6_APP_LOGGER_NAME
const char * DHCP6_APP_LOGGER_NAME
Name of the base logger for DHCPv6 server.
Definition: dhcp6_log.cc:27
isc::dhcp::DHCP6_OPTIONS_LOGGER_NAME
const char * DHCP6_OPTIONS_LOGGER_NAME
Name of the logger for options parser.
Definition: dhcp6_log.cc:30
isc::dhcp::lease6_logger
isc::log::Logger lease6_logger(DHCP6_LEASE_LOGGER_NAME)
Logger for lease allocation logic.
Definition: dhcp6_log.h:116
logger_support.h
Logging initialization functions.
isc::dhcp::DBG_DHCP6_BASIC
const int DBG_DHCP6_BASIC
Debug level used to trace basic operations within the code.
Definition: dhcp6_log.h:30