]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[gitlab8] Added log message indicating that the unix socket acceptor is opened.
authorMarcin Siodelski <marcin@isc.org>
Mon, 13 Aug 2018 17:38:35 +0000 (19:38 +0200)
committerMarcin Siodelski <marcin@isc.org>
Mon, 13 Aug 2018 17:38:35 +0000 (19:38 +0200)
src/lib/config/command_mgr.cc
src/lib/config/config_messages.mes

index 2057346338c8587fbe872b86b8518dad44807a6e..8b491926cc3d5fd6f1ff5cd60cdc95abfacf2cdb 100644 (file)
@@ -541,6 +541,9 @@ CommandMgrImpl::openCommandSocket(const isc::data::ConstElementPtr& socket_info)
 
     socket_name_ = name->stringValue();
 
+    LOG_INFO(command_logger, COMMAND_ACCEPTOR_START)
+        .arg(socket_name_);
+
     try {
         // Start asynchronous acceptor service.
         acceptor_.reset(new UnixDomainSocketAcceptor(*io_service_));
index dffc259c5d68210e3e2ba4bb9951e475507ac5d9..66dd1531152f0057839072e148ed7e7253fb52a6 100644 (file)
@@ -6,6 +6,13 @@
 
 $NAMESPACE isc::config
 
+% COMMAND_ACCEPTOR_START Starting to accept connections via unix domain socket bound to %1
+This informational message is issued when the Kea server starts an acceptor
+via which it is going to accept new control connections. The acceptor is
+bound to the endpoint associated with the filename provided as an argument.
+If starting the acceptor fails, subsequent error messages will provide a
+reason for failure.
+
 % COMMAND_DEREGISTERED Command %1 deregistered
 This debug message indicates that the daemon stopped supporting specified
 command. This command can no longer be issued. If the command socket is