summaryrefslogtreecommitdiffstats
path: root/src/lib/hooks/callout_manager.cc
diff options
context:
space:
mode:
authorStephen Morris <stephen@isc.org>2013-07-04 13:24:47 +0200
committerStephen Morris <stephen@isc.org>2013-07-04 13:24:47 +0200
commit04e36988a16fb36ab84ec548a174b148924ed0d7 (patch)
tree457b4a0c38f3a1f2bdd3b078e9d14bcb0c413819 /src/lib/hooks/callout_manager.cc
parent[2980] Various changes as a result of review (diff)
downloadkea-04e36988a16fb36ab84ec548a174b148924ed0d7.tar.xz
kea-04e36988a16fb36ab84ec548a174b148924ed0d7.zip
[2980] Final set of changes resulting from the first review
Diffstat (limited to 'src/lib/hooks/callout_manager.cc')
-rw-r--r--src/lib/hooks/callout_manager.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/hooks/callout_manager.cc b/src/lib/hooks/callout_manager.cc
index 54d68b96c2..0b75b1b50f 100644
--- a/src/lib/hooks/callout_manager.cc
+++ b/src/lib/hooks/callout_manager.cc
@@ -62,7 +62,7 @@ CalloutManager::setNumLibraries(int num_libraries) {
void
CalloutManager::registerCallout(const std::string& name, CalloutPtr callout) {
// Note the registration.
- LOG_DEBUG(hooks_logger, HOOKS_DBG_CALLS, HOOKS_REGISTER_CALLOUT)
+ LOG_DEBUG(hooks_logger, HOOKS_DBG_CALLS, HOOKS_CALLOUT_REGISTRATION)
.arg(current_library_).arg(name);
// Sanity check that the current library index is set to a valid value.
@@ -142,7 +142,7 @@ CalloutManager::callCallouts(int hook_index, CalloutHandle& callout_handle) {
int status = (*i->second)(callout_handle);
if (status == 0) {
LOG_DEBUG(hooks_logger, HOOKS_DBG_EXTENDED_CALLS,
- HOOKS_CALLOUT).arg(current_library_)
+ HOOKS_CALLOUT_CALLED).arg(current_library_)
.arg(ServerHooks::getServerHooks()
.getName(current_hook_))
.arg(reinterpret_cast<void*>(i->second));
@@ -209,7 +209,7 @@ CalloutManager::deregisterCallout(const std::string& name, CalloutPtr callout) {
bool removed = initial_size != hook_vector_[hook_index].size();
if (removed) {
LOG_DEBUG(hooks_logger, HOOKS_DBG_EXTENDED_CALLS,
- HOOKS_DEREGISTER_CALLOUT).arg(current_library_).arg(name);
+ HOOKS_CALLOUT_DEREGISTERED).arg(current_library_).arg(name);
}
return (removed);
@@ -244,7 +244,7 @@ CalloutManager::deregisterAllCallouts(const std::string& name) {
bool removed = initial_size != hook_vector_[hook_index].size();
if (removed) {
LOG_DEBUG(hooks_logger, HOOKS_DBG_EXTENDED_CALLS,
- HOOKS_DEREGISTER_ALL_CALLOUTS).arg(current_library_)
+ HOOKS_ALL_CALLOUTS_DEREGISTERED).arg(current_library_)
.arg(name);
}