wildfly/wildfly-core — pull request #282 by jamezp (2014-11-03 17:10:30+00:00)
Title: [WFCORE-197] Create dynamic resources for log files

Added dynamic resources for log files and deprecated the `list-log-files` and `read-log-file` operations on the subsystem root. The log files can now be seen via the `/subsystem=logging:read-children-resources(child-type=log-file)`. On each resource there is a `read-log-file` operation that acts as the original operation in 8.x on the subsystem root.

With the addition of [WFCORE-148](https://issues.jboss.org/browse/WFCORE-148) there is now the ability to attach streams to management requests. Log files can now be attached as a stream by reading the `stream` attribute on each resource. For example you can download a log file via a browser by hitting `http://localhost:9990/management/subsystem/logging/log-file/server.log?operation=attribute&name=stream&useStreamAsResponse`. Here `server.log` is the name of the file and the `useStreamAsResponse` is for the HTTP endpoint.

The second change in this PR to add the defaults paths to the test container is required to enable this PR to pass on WildFly. The missing paths caused errors on tests that used the `ModelParserUtils`.