August 2016
Intermediate to advanced
390 pages
8h 22m
English
Log files can also be read or downloaded with the management interfaces of the application server. This is quite useful if you don't have an operating system account for inspecting your log files.
You have multiple options for reading logs with management interfaces. We will show at first how to do it with the CLI; next, we will use the REST services of the administration console to read it from a common browser.
The logging subsystem includes a log-file resource that can be used to read the list of log files that have been created:
/subsystem=logging:read-children-names(child-type=log-file) { "outcome" => "success", "result" => [ "server.log", "server.log.2015-02-12", "server.log.2015-02-13" ...Read now
Unlock full access