This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently there is no API for reading the process standard/error output or log files and displaying its content in the output window. The same or similar code is now duplicated in all the output window API clients. For the log file support, the file should be specified as some kind of filename patter in order to support automatic rollover of log files. Not sure whether this belongs directly to the output component or somewhere else.
Sounds like you need to create a utility class on your side, to handle the many log files you have in web/j2ee areas. This may be considered in future if more areas of functionality require it and a general spec is created for that.