]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3198] Removed debug logging message from user_chk.
authorMarcin Siodelski <marcin@isc.org>
Tue, 14 Apr 2015 13:14:00 +0000 (15:14 +0200)
committerMarcin Siodelski <marcin@isc.org>
Tue, 14 Apr 2015 13:14:00 +0000 (15:14 +0200)
src/hooks/dhcp/user_chk/load_unload.cc
src/hooks/dhcp/user_chk/user_chk_messages.mes

index 4e02cbcafcc2b12666ea50b06526ec3b5687d2dc..a928b5b541db56916b8534a2ac7eac907ab6a586 100644 (file)
@@ -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 {
index 34708c34b2b111aedd6ab1f2d874c098aa54fd8d..0b11a1c964ca31ba7d47fa10dc7a4e94e7c3d6bc 100644 (file)
@@ -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