1/14
Contents
Title and Copyright Information
Preface
Documentation Accessibility
Conventions
1
Introduction and Roadmap
Document Scope and Audience
Guide to This Document
Related Documentation
Logging Samples and Tutorials
Avitek Medical Records Application (MedRec) and Tutorials
Logging Examples in the WebLogic Server Distribution
Internationalizing Applications Using Simple Message Catalogs Example
New and Changed Features in This Release
2
Application Logging and WebLogic Logging Services
About WebLogic Logging Services
Integrating Application Logging with WebLogic Logging Services: Main Steps
Accessing the WebLogic Server Logger
3
Internationalization and Localization for WebLogic Server
About Internationalization and Localization Standards
Understanding Internationalization and Localization for WebLogic Server
Understanding Message Catalogs
Understanding Java Interfaces for Internationalization
Main Steps for Creating an Internationalized Message
4
Using Message Catalogs with WebLogic Server
Overview of Message Catalogs
Message Catalog Hierarchy
Guidelines for Naming Message Catalogs
Using Message Arguments
Message Catalog Formats
Example Log Message Catalog
Elements of a Log Message Catalog
message_catalog Element
log_message Element
Child Elements of log_message Element
Example Simple Text Catalog
Elements of a Simple Text Catalog
message_catalog Element
message Element
messagebody Element
Example Locale-Specific Catalog
Elements of a Locale-Specific Catalog
locale_message_catalog Element
log_message Element
Other locale_message_catalog Elements
5
Writing Messages to the WebLogic Server Log
Using the I18N Message Catalog Framework: Main Steps
Create Message Catalogs
Compile Message Catalogs
Use Messages from Compiled Message Catalogs
Using the NonCatalogLogger APIs
Using ServletContext
Configuring Servlet and Resource Adapter Logging
Writing Messages from a Client Application
Writing Debug Messages
6
Using the WebLogic Server Message Editor
About the Message Editor
Starting the Message Editor
Working with Catalogs
Browsing to an Existing Catalog
Creating a New Catalog
Adding Messages to Catalogs
Entering a New Log Message
Entering a New Simple Text Message
Finding Messages
Finding a Log Message
Finding a Simple Text Message
Using the Message Viewer
Viewing All Messages in a Catalog
Viewing All Messages in Several Catalogs
Selecting a Message to Edit from the Message Viewer
Editing an Existing Message
Retiring and Unretiring Messages
7
Using the WebLogic Server Internationalization Utilities
WebLogic Server Internationalization Utilities
WebLogic Server Internationalization and Localization
weblogic.i18ngen Utility
Syntax
Options
weblogic.l10ngen Utility
Syntax
Options
Message Catalog Localization
Examples
weblogic.GetMessage Utility
Syntax
Options
A
Localizer Class Reference for WebLogic Server
About Localizer Classes
Localizer Methods
Localizer Lookup Class
B
Loggable Object Reference for WebLogic Server
About Loggable Objects
How To Use Loggable Objects
C
TextFormatter Class Reference for WebLogic Server
About TextFormatter Classes
Example of an Application Using a TextFormatter Class
D
Logger Class Reference for WebLogic Server
About Logger Classes
Example of a Generated Logger Class
Scripting on this page enhances content navigation, but does not change the content in any way.