Testing the custom component in the Generic Log Adapter
The Generic Log Adapter provides a number of pre-defined components
that can be used to create adapters to process application log files.
If those components do not meet your requirements, the Generic Log Adapter
can be extended by creating custom components
that can be included in the context of an adapter configuration file.
To test the custom component, you can launch a run-time workbench to test the new component plug-in project you created:
- In the Plug-in Development perspective, select Run > Run.
The launch configuration dialog is loaded.
- From the Configurations list, double-click on Run-time workbench. A new workbench
configuration is created and the details are shown in the right pane.
- Under the Plug-ins tab, the option Launch with all workspace and enabled external plug-ins is selected.
If you do not want to run other plug-ins currently in your workspace, select
the option Choose plug-ins and fragments to launch from list and deselect the plug-ins
you do not want to load. Click Run to launch the new workbench.
- In the new workbench, create a simple project by clicking File > New > Project.
In the New Project wizard, select Simple > Project.
- Specify a project name and click Finish.
- Create a new adapter configuration file, or import an existing adapter configuration file into your project.
To import an existing adapter configuration file:
- From the menu, select File > Import.
- In the Import Wizard, select File system.
- Specify the location of the adapter configuration file.
- Click Finish.
- You can test your component by adding the new component to this adapter.
See the topic on Adding a custom component to an adapter.
- Once the adapter configuration file is updated, run the adapter to test your new component.
Related tasks
Creating a log parser
Related references
Adapter Configuration File structure
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.