From: Francis Dupont Date: Wed, 17 Jul 2019 15:13:08 +0000 (+0200) Subject: [208-finish-move-logging] Improved log message X-Git-Tag: Kea-1.6.0-beta2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92d75011246ad0f7dfb71d07a3397d833fc4764b;p=thirdparty%2Fkea.git [208-finish-move-logging] Improved log message --- diff --git a/src/lib/process/d_controller.cc b/src/lib/process/d_controller.cc index f94504d74f..df746080cd 100644 --- a/src/lib/process/d_controller.cc +++ b/src/lib/process/d_controller.cc @@ -499,8 +499,9 @@ DControllerBase::handleOtherObjects(ConstElementPtr args) { } if (obj_name == "Logging") { LOG_WARN(dctl_logger, DCTL_CONFIG_DEPRECATED) - .arg("'Logging' defined in top level. This is deprecated." - " Please define it in the '" + app_name + "' scope."); + .arg("The top level element, 'Logging', has been deprecated." + " Loggers should be defined with the 'loggers[]'" + " element within the '" + app_name + "' scope."); continue; } LOG_WARN(dctl_logger, DCTL_CONFIG_DEPRECATED)