IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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

MWS Field Logging

  • 1.  MWS Field Logging

    Posted Mon December 04, 2017 05:59 AM

    Hi All,

    I have a requirement where I need to log the error message from a flow service on MWS.

    I observed that if the length of the error message is too large it’s not getting logged on MWS.

    Can anyone please let me kmow if there is any setting or any property which we can use to log the large message.


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: MWS Field Logging

    Posted Mon December 04, 2017 02:38 PM

    Hi,

    please check the table WMERROR if the required fields are long enough.

    Depending on wM Version your are on you might need to update IntegrationServer/audit/schema definition files to adopt the change in lenght. Restarting IntegrationServer is required afterwards.

    MWS itself does not hold the data but uses IS (WmMonitor) to access the data.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: MWS Field Logging

    Posted Tue December 05, 2017 02:34 AM

    Thanks Holger. I am working on 9.12


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: MWS Field Logging

    Posted Tue December 05, 2017 02:54 AM

    Hi Holger,

    I am not able to find IntegrationServer/audit/schema defination file under Integration server directory for 9.12 wm.

    Where it exactly available do you have any idea ? Please let me know


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: MWS Field Logging

    Posted Tue December 05, 2017 05:38 AM

    Hi,

    IF you are using an external database for your IS audit/internal JDBC pools, check the corresponding database directly.

    You should (must) find the WMERROR, WMDOCUMENT and WMSERVICE tables there.

    Best regards,


    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: MWS Field Logging

    Posted Tue December 05, 2017 10:10 AM

    Hi,

    I think this directory is no longer needed by recent versions, but it was at least up to 7.1.
    I am not sure for 8.2.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: MWS Field Logging

    Posted Fri December 22, 2017 03:00 AM

    Hi,

    I have checked the tables WMERROR, WMDOCUMENTand WMSERVICE.

    I found ERRORMESSAGE column in WMERROR and WMSERVICE TABLE.

    Data taype for ERRORMESSAGE column is VARCHAR (1024). Seems column is able to accept the message upto the length 1024.

    However output field value of my flow service is still not logging in MWS when it it bit large. Let’s say the length is 400 then it’s not logging.

    Can anyone please let me know If am I looking for the wright column. Is there anyother places where I need to check. I am working on 9.12.

    When message is small let’s say message length is 200 then field is looging in MWS.


    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: MWS Field Logging

    Posted Fri December 22, 2017 10:38 AM

    Hello Neeraj,

    Do you see any errors on error logs?


    #webMethods
    #Integration-Server-and-ESB


  • 9.  RE: MWS Field Logging

    Posted Fri December 22, 2017 06:02 PM

    Hi,

    please check if you have the latest updates for your ISCoreAudit component applied to the database.

    On the other hand you can modify the length of the column at your own risk to 4000 chars.
    Restart the IntegrationServer for AuditLogging to notice the changed length.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods