13 #include <database/db_messages.h> 40 DATABASE_CQL_CONNECTION_BEGIN_TRANSACTION },
57 }
catch (
const std::out_of_range&) {
We want to reuse the database backend connection and exchange code for other uses,...
DbMessageID
Database messages.
const DbLogger::MessageMap db_message_map
Map of translated messages.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
std::map< DbMessageID, isc::log::MessageID > MessageMap
Translation map type.
A generic exception that is thrown when an unexpected error condition occurs.
std::list< DbLogger > DbLoggerStack
Database logger stack.
DbLoggerStack db_logger_stack
Global database logger stack (initialized to dhcpsrv logger)
const int DB_DBG_TRACE_DETAIL
Database logging levels.
Defines the logger used by the top-level component of kea-dhcp-ddns.
void checkDbLoggerStack()
Check database logger stack.
DbLogger db_logger_translator(database_logger, db_message_map)
Database logger translator.
isc::log::Logger database_logger("database")
Common database library logger.
const int DBGLVL_TRACE_DETAIL
Trace detailed operations.