Dynamically attaching to logging agents of an application - Users can automatically
discover and attach to logging agents of an application via the profile launch
configuration. The logging agent discoverer is used to perform periodic queries on
the logging agents that are registered by the process launched.
From the Profiling and Logging Perspective click on the Profile drop-down menu,
and select Open Profile Dialog...
The Profile wizard opens
Create a new launch configuration of type Attach-Java Application. Learn more about profiling launch
configurations in Preparing to launch an agent.
Under the Agents Tab select the Logging Agent
Click on Profile
This will instantiate an instance of the Logging agent in the profiling monitor.
It is not yet monitoring hence the <attached tag>. To start monitoring, right-click
on the Logging agent node and select Start Monitoring from the pop-up menu
The Logging agent node will now have the tag <monitoring> rather than <attached> as a tag
In the Profiling Monitor view, select your monitor, right-click and select Open With > Log View to open the Log View. The Log View opens.
Scroll down to find the particular Logging event(s) that you're interested in and open them in the properties viewer