Preface
This document describes how to use 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 create or edit message catalogs that are locale-specific.
Audience
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.
Parent topic: Preface
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Access to Oracle Support
Oracle customer access to and use of Oracle support services will be pursuant to the terms and conditions specified in their Oracle order for the applicable services.
Parent topic: Preface
Diversity and Inclusion
Oracle is fully committed to diversity and inclusion. Oracle respects and values having a diverse workforce that increases thought leadership and innovation. As part of our initiative to build a more inclusive culture that positively impacts our employees, customers, and partners, we are working to remove insensitive terms from our products and documentation. We are also mindful of the necessity to maintain compatibility with our customers' existing technologies and the need to ensure continuity of service as Oracle's offerings and industry standards evolve. Because of these technical constraints, our effort to remove insensitive terms is ongoing and will take time and external cooperation.
Parent topic: Preface
Related Documentation
The corporate Web site provides all documentation for WebLogic Server. Specifically, View Logs and Configure Logs in the Oracle WebLogic Remote Console Online Help describes configuring log files and log messages that a WebLogic Server instance generates.Configuring WebLogic Logging Services in Configuring Log Files and Filtering Log Messages for Oracle WebLogic Server 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:
-
The Java Developer Connection at
http://www.oracle.com/technetwork/java/index.html
-
The Internationalization section of the World Wide Web Consortium (W3C) Web Site at
http://www.w3.org
Logging Samples and Tutorials
Oracle provides a variety of code examples and tutorials that show WebLogic Server configuration and API use, and provide practical instructions on how to perform key development tasks. For more information, see Sample Applications and Code Examples in Understanding Oracle WebLogic Server.
Logging Examples in the WebLogic Server Distribution
WebLogic Server optionally installs API code examples in ORACLE_HOME
\wlserver\samples\server
, where ORACLE_HOME
represents the directory in which you installed WebLogic Server.
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 ORACLE_HOME
\wlserver\samples\server\examples\src\examples\i18n\simple
, where ORACLE_HOME
represents the directory in which you installed WebLogic Server.
Parent topic: Related Documentation
New and Changed WebLogic Server Features
For a comprehensive listing of the new WebLogic Server features introduced in this release, see What's New in Oracle WebLogic Server.
Parent topic: Related Documentation
Conventions
The following text conventions are used in this document:
Convention | Meaning |
---|---|
boldface |
Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary. |
italic |
Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values. |
|
Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter. |
Parent topic: Preface