Commit 92d75011 authored by Francis Dupont's avatar Francis Dupont
Browse files

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

parent 8a4df049
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment