]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5470] Lower logging level for certain config messages.
authorMarcin Siodelski <marcin@isc.org>
Fri, 23 Mar 2018 17:46:10 +0000 (18:46 +0100)
committerMarcin Siodelski <marcin@isc.org>
Fri, 23 Mar 2018 17:46:10 +0000 (18:46 +0100)
src/lib/config/base_command_mgr.cc
src/lib/config/command_mgr.cc
src/lib/config/config_messages.mes

index d76bde71f5a4437c3900bb9555ff297abaccc581..cd7e05620ccdb2373d84e030bedb375cc68ce674 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2018 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 88b3dd801f9f13d0825a2042c95fa02231c20d27..512938346162e1415d29359c88701b410e53b6bb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2018 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -65,7 +65,7 @@ public:
           buf_(), response_(), connection_pool_(connection_pool), feed_(),
           response_in_progress_(false) {
 
-        LOG_INFO(command_logger, COMMAND_SOCKET_CONNECTION_OPENED)
+        LOG_DEBUG(command_logger, DBG_COMMAND, COMMAND_SOCKET_CONNECTION_OPENED)
             .arg(socket_->getNative());
 
         // Callback value of 0 is used to indicate that callback function is
@@ -94,7 +94,7 @@ public:
     /// cause the server to not send a response to the client.
     void stop() {
         if (!response_in_progress_) {
-            LOG_INFO(command_logger, COMMAND_SOCKET_CONNECTION_CLOSED)
+            LOG_DEBUG(command_logger, DBG_COMMAND, COMMAND_SOCKET_CONNECTION_CLOSED)
                 .arg(socket_->getNative());
 
             isc::dhcp::IfaceMgr::instance().deleteExternalSocket(socket_->getNative());
index a40bd2b5691f9763573984fc3b15e5168fb0c576..645bba692a0cb7b9d8a297738caf50ae02d21be6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2011-2017 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2011-2018 Internet Systems Consortium, Inc. ("ISC")
 #
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -59,7 +59,7 @@ when the timeout occurs during communication with a client. The error message
 includes details about the reason for failure.
 
 % COMMAND_SOCKET_CONNECTION_CLOSED Closed socket %1 for existing command connection
-This is an informational message that the socket created for handling
+This is a debug message indicating that the socket created for handling
 client's connection is closed. This usually means that the client disconnected,
 but may also mean a timeout.
 
@@ -69,7 +69,7 @@ command connection and/or removing it from the connections pool. The
 detailed error is provided as an argument.
 
 % COMMAND_SOCKET_CONNECTION_OPENED Opened socket %1 for incoming command connection
-This is an informational message that a new incoming command connection was
+This is a debug message indicating that a new incoming command connection was
 detected and a dedicated socket was opened for that connection.
 
 % COMMAND_SOCKET_CONNECTION_SHUTDOWN_FAIL Encountered error %1 while trying to gracefully shutdown socket