Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Common Base Event logging

Paul Slauenwhite, Software Developer, Federated Integration Test team, IBM China Development Lab
Paul Slauenwhite is a Software Developer on the IBM Autonomic Computing Tools and Technologies project and contributes to the Eclipse Test and Performance Tool Platform (TPTP) open source project (formally Hyades). After receiving a B.S. degree in computer science from Dalhousie University, Paul joined IBM in 2000 and worked on the WebSphere® Object Level Trace (OLT) project. In 2001, he joined the IBM WebSphere Studio Team, where he developed logging and tracing technologies. Paul moved to the Eclipse Hyades project at its inception in 2002, focusing on log and trace data, collection, and correlation. Paul is currently working on an M.S. degree in software engineering at the University of Waterloo.

Summary:  This tutorial shows how to configure Common Base Event logging in the Java programming language for use by the Log and Trace Analyzer. The result is a rich source of activity and control-flow information you can use to accelerate problem determination and increase system serviceability and quality.

Date:  12 Apr 2005
Level:  Introductory PDF:  A4 and Letter (88 KB | 26 pages)Get Adobe® Reader®

Activity:  17246 views
Comments:  

Before you start

About this tutorial

The Log and Trace Analyzer in the IBM® Autonomic Computing Toolkit monitors, correlates, analyzes, diagnoses, and resolves run-time problems in complex heterogeneous systems. The Log and Trace Analyzer collects and consolidates practical problem-determination data in the Common Base Event format from disparate systems into a single management tool. You can then use the Log and Trace Analyzer for viewing, navigating, sorting, filtering, searching, correlating, and analyzing.

This tutorial shows you how to configure Common Base Event logging in the JavaTM language. This gives you a rich source of activity and control-flow information to accelerate problem determination and increase system serviceability and quality. The Log and Trace Analyzer can then use logged Common Base Events to detect and resolve configuration errors, performance degradation, exception states, resource starvation, security failures, communication delays, deadlocking, and other problems.

The tutorial introduces the concept of problem determination, outlines the Common Base Event model, and details the benefits of logging events and problems in the Common Base Event format. You learn how to configure a Java class for Common Base Event logging using the Java Logging APIs. This teaches you the essential Common Base Event properties and best practices you need for effective serviceability and internationalization. Finally, you learn how to leverage the Common Base Event factory for increased performance, decreased maintenance, and vendor-specific content.

This tutorial is intended for developers who want to use Common Base Event logging in new and existing Java applications. Architects who want to incorporate serviceability into their designs can also benefit from the tutorial. Having a basic knowledge of generic logging concepts and Common Base Events, and having moderate experience with the Java language and Eclipse, will help you complete the tutorial's tasks and understand its examples.


Prerequisites

This tutorial requires the Autonomic Computing Toolkit V2.0. The Autonomic Computing Toolkit V2.0 requires Eclipse V3.0.1. Eclipse V3.0.1 requires the Java Runtime Environment (JRE) V1.4 or above.

To run the code in this tutorial, you need the Common Base Event V1.0.1 Java implementation and support in the Log and Trace Analyzer V3.0.0, which is part of the Autonomic Computing Toolkit V2.0. The following plug-in Java Archive (JAR) files located in the <Autonomic Computing Toolkit installation directory>\eclipse\plugins directory are required for this tutorial:

JAR file Plug-in Content
hlcbe101.jarorg.eclipse.hyades.logging.core_3.0.1Common Base Event V1.0.1 implementation
hlcore.jarorg.eclipse.hyades.logging.core_3.0.1Common Base Event V1.0.1 implementation's logging core dependency
ecore.jarorg.eclipse.emf.ecore_2.0.1\runtimeCommon Base Event V1.0.1 implementation's Eclipse Modeling Framework dependency
common.jarorg.eclipse.emf.common_2.0.1\runtimeCommon Base Event V1.0.1 implementation's Eclipse Modeling Framework dependency
hl14.jarorg.eclipse.hyades.logging.java14_3.0.1Common Base Event and Logging Agent support for the Java Logging APIs
hexr.jarorg.eclipse.hyades.execution.remote_3.0.0Logging Agent's execution dependency

The Common Base Event V1.0.1 Java implementation API Javadoc documentation is located at <Autonomic Computing Toolkit installation directory>\eclipse\plugins\org.eclipse.hyades.logging.core_3.0.1\doc.cbe101\index.html.

1 of 10 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Tivoli
ArticleID=129391
TutorialTitle=Common Base Event logging
publish-date=04122005
author1-email=
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.