From: Marcin Siodelski Date: Tue, 14 Apr 2015 13:14:00 +0000 (+0200) Subject: [3198] Removed debug logging message from user_chk. X-Git-Tag: trac3812_base~2^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31ba17fd762054cfdfcd963a371f288789bb4bc8;p=thirdparty%2Fkea.git [3198] Removed debug logging message from user_chk. --- diff --git a/src/hooks/dhcp/user_chk/load_unload.cc b/src/hooks/dhcp/user_chk/load_unload.cc index 4e02cbcafc..a928b5b541 100644 --- a/src/hooks/dhcp/user_chk/load_unload.cc +++ b/src/hooks/dhcp/user_chk/load_unload.cc @@ -70,13 +70,6 @@ extern "C" { /// /// @return Returns 0 upon success, non-zero upon failure. int load(LibraryHandle&) { - /// @todo The following log message includes a dummy parameter for us - /// to check if parameters are logged properly. This parameter will have - /// to be removed. - int test_value = 123; - LOG_INFO(user_chk_logger, USER_CHK_HOOK_LOAD) - .arg(test_value); - // non-zero indicates an error. int ret_val = 0; try { diff --git a/src/hooks/dhcp/user_chk/user_chk_messages.mes b/src/hooks/dhcp/user_chk/user_chk_messages.mes index 34708c34b2..0b11a1c964 100644 --- a/src/hooks/dhcp/user_chk/user_chk_messages.mes +++ b/src/hooks/dhcp/user_chk/user_chk_messages.mes @@ -1,4 +1,4 @@ -# Copyright (C) 2013,2015 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC") # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -12,9 +12,6 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -% USER_CHK_HOOK_LOAD load function called: %1 -This message is logged by the hook library on entry to the load function. - % USER_CHK_HOOK_LOAD_ERROR DHCP UserCheckHook could not be loaded: %1 This is an error message issued when the DHCP UserCheckHook could not be loaded. The exact cause should be explained in the log message. User subnet selection