]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[208-finish-move-logging] Improved log message 208-finish-move-logging
authorFrancis Dupont <fdupont@isc.org>
Wed, 17 Jul 2019 15:13:08 +0000 (17:13 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 17 Jul 2019 15:13:08 +0000 (17:13 +0200)
src/lib/process/d_controller.cc

index f94504d74f525107ba7157d65263939f882cef3b..df746080cdaa665be529d66b2781924886038f3b 100644 (file)
@@ -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)