Friday, March 21

How can one configure WebLogic Server (WLS) log filters to exclude logging certain messages based on MessageID?



1) Configure a log filter first. 
a) Click on in the left pane. In the right pane, under Configuration --> Log filters, create a new log filter.
b) Click on the newly created log filter and click on 'Add Expression.'
c) For the Expression, specify the following:
Message Attribute: MSGID
Operator: =
Value: complete MessageId (for example: BEA-149515)
d) Click on finish.
2) Now select the expression, and click on the "Negate" button to include the "NOT" condition. Now the condition looks like this:
NOT(MSGID = 'BEA-149515')

3) Save and activate the changes.

4) Now assign this filter to all servers.
a) Click on the server to which this has to be configured.
b) Go to Logging --> Advanced section.
c) In the log file section, select the filter that is newly created.
d) If the stout redirection is enabled, then specify the filter for stdout also.

5) Restart the server.

2 comments:

  1. If you need your ex-girlfriend or ex-boyfriend to come crawling back to you on their knees (even if they're dating somebody else now) you need to watch this video
    right away...

    (VIDEO) Text Your Ex Back?

    ReplyDelete
  2. BlueHost is ultimately the best web-hosting company with plans for any hosting needs.

    ReplyDelete