2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-02 15:05:16 +00:00

[208-finish-move-logging] Improved log message

This commit is contained in:
Francis Dupont
2019-07-17 17:13:08 +02:00
parent 8a4df04930
commit 92d7501124

View File

@@ -499,8 +499,9 @@ DControllerBase::handleOtherObjects(ConstElementPtr args) {
} }
if (obj_name == "Logging") { if (obj_name == "Logging") {
LOG_WARN(dctl_logger, DCTL_CONFIG_DEPRECATED) LOG_WARN(dctl_logger, DCTL_CONFIG_DEPRECATED)
.arg("'Logging' defined in top level. This is deprecated." .arg("The top level element, 'Logging', has been deprecated."
" Please define it in the '" + app_name + "' scope."); " Loggers should be defined with the 'loggers[]'"
" element within the '" + app_name + "' scope.");
continue; continue;
} }
LOG_WARN(dctl_logger, DCTL_CONFIG_DEPRECATED) LOG_WARN(dctl_logger, DCTL_CONFIG_DEPRECATED)