Browse Source

[3198] Removed debug logging message from user_chk.

Marcin Siodelski 10 years ago
parent
commit
31ba17fd76

+ 0 - 7
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 {

+ 1 - 4
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