Skip to main content


developerWorks  >  Autonomic computing  >

Streamline Common Base Event logging

developerWorks

Level: Intermediate

Paul Slauenwhite (paules@ca.ibm.com), Software Developer, IBM<reg></reg>

03 Jan 2006

Register now or sign in using your IBM ID and password.

Common Base Event logging provides problem-determination data rich in activity and control-flow information that the Log and Trace Analyzer uses to accelerate problem determination and increase system serviceability and quality. This tutorial shows how to streamline Common Base Event logging instrumentation in the Java programming language to reduce complexity and instrumentation code size. You'll learn techniques and best practices that reduce maintenance requirements and let you increase customized, vendor-specific content.

In this tutorial

  • Problem determination and the Common Base Event model

  • Best practices for common base event logging

  • Common Base Event factory

  • Extending the Common Base Event factory

Prerequisites

This tutorial is intended for serviceability architects and developers who want to streamline Common Base Event logging in new and existing systems written in the Java language. Basic knowledge of generic logging concepts and Common Base Events, and moderate experience with the Java language and Eclipse, will help you complete the tutorial's tasks and understand its examples.

This tutorial requires the Autonomic Computing Toolkit V3.0.0. The Autonomic Computing Toolkit V3.0.0 requires Eclipse V3.0.3. Eclipse V3.0.3 requires the Java Runtime Environment (JRE) V1.4.x.

To run the code and configuration in this tutorial, you need the Common Base Event V1.0.1 Java implementation and support in the Log and Trace Analyzer V3.3.0, which is part of the Autonomic Computing Toolkit V3.0.0. Several plug-in Java Archive (JAR) files located in the &lt;Autonomic Computing Toolkit installation directory&gt;\eclipse\plugins directory are required for this tutorial (see Table 1).


Table 1. Plug-in JAR files required to run the code and configuration in this tutorial
JAR filePlug-in
hlcbe101.jarorg.eclipse.hyades.logging.core_3.3.0
hlcore.jarorg.eclipse.hyades.logging.core_3.3.0
ecore.jarorg.eclipse.emf.ecore_2.0.2\runtime
common.jarorg.eclipse.emf.common_2.0.1\runtime
hl14.jarorg.eclipse.hyades.logging.java14_3.3.0
hexr.jarorg.eclipse.hyades.execution.remote_3.3.0

See Resources for a link to the Common Base Event V1.0.1 Java implementation API Javadoc documentation or get the Log and Trace Analyzer for Eclipse .


System requirements

None



Duration

Under two hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed