Q&A

Q1:How do I filter the messages received by the notification listener in the WebLogic Server logging framework?
A1: To enable filtering of log messages, the notification listener must implement the javax.management.NotificationFilter interface. You should write the necessary filtering or parsing functionality in the isNotificationEnabled() method. The contents of the logged message are wrapped in the WebLogicLogNotification object.
Q2:When is it recommended to use the i18n message catalog framework, and when to use the NonCatalogLogger API?
A2: For enterprise applications that potentially require displaying and logging messages in different languages, or for easier management of a large number of messages, you would be better off using the ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.