Stop supporting obsolete logging configuration (and check ARM examples)
We moved logging section inside specific server configuration.
Old:
{
"Dhcp4": {},
"Logging": {
"loggers": []
}
}
New:
{
"Dhcp4": {
"loggers": []
}
}
Right now we are issuing warning in logfile for misplaced logging configuration (DCTL_CONFIG_DEPRECATED server configuration includes a deprecated object: The top level element, 'Logging', has been deprecated. Loggers should be defined with the 'loggers[]' element within the 'Control-agent' scope.
) but this, as planned, should change to error in 1.7.X
point of this ticket is to check ARM and all examples we have that there is just 'new' way there.
There are two tasks to complete here:
- review existing examples.
- change the logic to actually reject the old syntax.
Edited by Tomek Mrugalski