This is for
GLASSFISH-17507 Raw Log Viewer.
Original glassfish logviewer allows to view logs from other server, but Raw Log Viewer (in its first implementation) does not. This is because there are two different web services, /log-view/ and /log-view/details.json, the former is used in raw viewer, because it provides raw log, but the latter is able to retrieve logs from other servers, but it provides structured log details, which seems to be an overkill for the case.
It is requested that LogViewerResource could provide log from other instances similarly to StructuredLogViewerResource.
Relevant functionality should be extracted from LogFilter.getLogRecordsUsingQuery and re-used in LogViewerResource. However this should be considered carefully for remote instance, as Raw Log viewer polls quite often (currently every second, may be changed easily in logViewerRaw.jsf).