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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user