Log_message, Log_message -7 – BEA WebLogic Server User Manual

Page 25

Advertising
background image

Message Catalog Formats

Internationalization Guide

2-7

log_message

The following table describes the attributes that you can define for the

log_message

element.

endid

499999

for

WebLogic Server
catalogs

999999

for

user-defined
catalogs

Optional

Specifies the highest message ID used in this
catalog. The syntax is one to six decimal units.

Attribute

Default

Required/
Optional

Description

Attribute

Default

Required/
Optional

Description

messageid

None

Required

Unique identifier for this log message. Uniqueness
should extend across all catalogs. Value must be in
range defined by baseid and endid attributes. This is
a child element of

message_catalog

.

datelastchanged

None

Optional

Date/time stamp used for managing modifications
to this message. The date is supplied by utilities that
run on the catalogs. The syntax is:

Long.toString(new
Date().getTime());

severity

None

Required

Indicates the severity of the log message. Must be
one of the following:

debug

,

info

,

warning

,

notice

,

error

,

critical

,

alert

, or

emergency

. User catalogs may only use

debug

,

info

,

warning

, and

error

.

stacktrace

true

Optional

Indicates whether to generate a stack trace for
Throwable arguments. Possible values are

true

or

false

. When the value is

true

a trace is

generated. The syntax is:

stacktrace="true"

Advertising