webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

How to suppress error log messages?

  • 1.  How to suppress error log messages?

    Posted Tue November 08, 2005 09:30 PM

    I have a service that I use to ping a JDBC adapter, to see if it is available for use. When the ping fails (because the database is down), multiple error messages are written to the error log, one for each service in the call stack up to my TRY…CATCH level.

    I have no desire to add TRY…CATCH…IF SUCCESSFUL THEN… constructs in every service, because that creates the sort of messy code that exceptions were designed to eliminate.

    1. How can I prevent the redundant messages from cluttering the error log?
    2. Can I prevent ALL the messages, for situations like this one where I am choosing to manage the errors myself?

    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 2.  RE: How to suppress error log messages?

    Posted Wed November 09, 2005 12:26 AM

    Hi mlemaire,

    For (2) you can set watt.server.auditlog.error=false in the server's extended settings. If you are running v6.0.1 Integration Server you will need a fix to support this feature - contact Technical Services.
    

    Regards,
    Adrian


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods