From 3dbaf4917bea112466f1ee5726870c545950e114 Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Mon, 13 Aug 2018 19:38:35 +0200 Subject: [PATCH] [gitlab8] Added log message indicating that the unix socket acceptor is opened. --- src/lib/config/command_mgr.cc | 3 +++ src/lib/config/config_messages.mes | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/src/lib/config/command_mgr.cc b/src/lib/config/command_mgr.cc index 2057346338..8b491926cc 100644 --- a/src/lib/config/command_mgr.cc +++ b/src/lib/config/command_mgr.cc @@ -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_)); diff --git a/src/lib/config/config_messages.mes b/src/lib/config/config_messages.mes index dffc259c5d..66dd153115 100644 --- a/src/lib/config/config_messages.mes +++ b/src/lib/config/config_messages.mes @@ -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 -- 2.47.2