Using WebLogic Logging Services for Application Logging

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Introduction and Roadmap

This section describes the contents and organization of this guide—Using WebLogic Logging Services.

 


Document Scope and Audience

This document describes how you use BEA WebLogic Server® logging services to monitor application events. It describes WebLogic support for internationalization and localization of log messages, and shows you how to use the templates and tools provided with WebLogic Server to to create or edit message catalogs that are locale-specific.

This document is a resource for Java Platform, Enterprise Edition (Java EE) application developers who want to use WebLogic message catalogs and logging services as a way for their applications to produce log messages and want to integrate their application logs with WebLogic Server logs. This document is relevant to all phases of a software project, from development through test and production phases.

This document does not address how you configure logging, subscribe to and filter log messages. For links to information on these topics, see Related Documentation.

It is assumed that the reader is familiar with Java EE and Web technologies, object-oriented programming techniques, and the Java programming language.

 


Guide to This Document

The document is organized as follows:

 


Related Documentation

The BEA corporate Web site provides all documentation for WebLogic Server. Specifically, “ View and Configure Logs” in the Administration Console Online Help describes configuring log files and log messages that a WebLogic Server instance generates, and “ Configuring Log Files and Filtering Log Messages” describes configuring WebLogic Server to write messages to log files, filtering message output, and listening for the log messages that WebLogic Server broadcasts.

For general information about internationalization and localization, refer to the following sources:

 


Logging Samples and Tutorials

In addition to this document, BEA Systems provides a variety of logging code samples and tutorials that show logging configuration and API use.

Avitek Medical Records Application (MedRec) and Tutorials

MedRec is an end-to-end sample Java EE application shipped with WebLogic Server that simulates an independent, centralized medical record management system. The MedRec application provides a framework for patients, doctors, and administrators to manage patient data using a variety of different clients.

MedRec demonstrates WebLogic Server and Java EE features, and highlights BEA-recommended best practices. MedRec is included in the WebLogic Server distribution, and can be accessed from the Start menu on Windows machines. For Linux and other platforms, you can start MedRec from the WL_HOME\samples\domains\medrec directory, where WL_HOME is the top-level installation directory for WebLogic Server.

Logging Examples in the WebLogic Server Distribution

WebLogic Server 9.0 optionally installs API code examples in WL_HOME\samples\server\examples\src\examples, where WL_HOME is the top-level directory of your WebLogic Server installation. You can start the examples server, and obtain information about the samples and how to run them from the WebLogic Server 9.0 Start menu.

Internationalizing Applications Using Simple Message Catalogs Example

This example shows various methods for displaying localized text using simple message catalogs. Using any of the languages supported by the example requires the appropriate operating system localization software and character encoding. The package that contains this example is:

java examples.i18n.simple.HelloWorld [lang [country]]

where lang is a two-character ISO language code (for example, en for English) and country is a two-character ISO country code (for example, US for the United States).

The files are located in WL_HOME\samples\server\examples\src\examples\i18n\simple, where WL_HOME is the top-level directory of your WebLogic Server installation. The default path is c:\bea\wlserver_10.0, however, you are not required to install this directory under BEA_HOME.

 


New and Changed Application Logging Features in This Release

There are no new or changed application logging features in this release. For more information about the new and changed features in this release, see What's New in WebLogic Server 10.0.


  Back to Top       Previous  Next