Log message catalog example, Listing 2-2 example of a log message catalog, Log message catalog example -9 – BEA WebLogic Server User Manual
Page 27

Message Catalog Formats
Internationalization Guide
2-9
Log Message Catalog Example
The following example shows a log message catalog,
MyUtilLog.xml
, with one log
message.
Listing 2-2 Example of a Log Message Catalog
"
http://www.bea.com/servers/wls700/dtd/
msgcat.dtd">
i18n_package="programs.utils"
subsystem="MYUTIL"
Element
Parent
Element
Required/
Optional
Description
messagebody
log_message
Required
A string containing a short description for this
message. This element may contain zero or more
placeholders,
{n}
that are replaced by the
appropriate argument when the log message is
localized.
messagedetail
log_message
Required
A string containing a detailed description of the
event. This element may contain zero or more
placeholders,
{n}
that are replaced by the
appropriate argument when the log message is
localized.
cause
log_message
Required
A string describing the root cause of the problem.
This element may contain zero or more
placeholders,
{n}
that are replaced by the
appropriate argument when the log message is
localized.
action
log_message
Required
A string describing the recommended resolution.
This element may contain zero or more
placeholders, {n} that are replaced by the
appropriate argument when the log message is
localized.