Where is the .log file when using the Jetty based Environment while developing plugins?
While developing plugins I'm using Jetty based RTC extending environment in RTC 6.0.2. This was created using the RTC extending workshop setup. While testing where are the console messages written to when working on work items on the web.
While working on work items using the RTC client I have access to console(by adding Breakpoint) and the .log of the Eclipse workspace under .metadata folder.
But I need access to the .log file for debugging Javascript messages (generated by console.log output ) when running the same from Web(https://localhost:7443/jazz/web/projects/ProjectXXX).
Accepted answer
Late reply to this, it's probably no longer relevant to the thread owner, but may help others.
By default, the setup for Jetty will not log to a file, but only to console.
For this particular setup, you can find the log4j properties file for Jetty at ${workspace_loc}/RTC Extension Workshop Configuration - Server/conf/jazz/log4j.properties and add an appender for your output as described here:
One other answer
The server log file, I believe, is
C:\RTCXXDev\workspaces\Dev1\runtime-New_configuration.metadata\.log assuming the Eclipse workspace running Jetty is C:\RTCXXDev\workspaces\Dev1\WS
It was pretty easy to find using a simple file search.