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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  in WM IS 8.2 Debug.log(int, String) has been deprecated

    Posted 11/26/13 04:54 AM

    Hi guys,

    I just started developing a new Java Service in WM IS 8.2 and the Debug.log(int, String) method have been deprecated.

    Could you please advise in what to use instead of it ?

    Any suggestion wil be very appreciated.

    Kind Regards,
    Silviu


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


  • 2.  RE: in WM IS 8.2 Debug.log(int, String) has been deprecated

    Posted 11/26/13 03:42 PM

    for java service in IS, you can always use:
    Service.doInvoke(“pub.flow”, “debugLog”, inputParams);
    to write to the server log.

    Are you using some third party logging tools before?


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


  • 3.  RE: in WM IS 8.2 Debug.log(int, String) has been deprecated

    Posted 11/27/13 03:30 AM

    Hi,

    Yes, this is a solution but i am more interesed in using a java method. Invoking a service for calling the Debug it is not a very good practice.

    i do not use any 3rd party libs.

    Kind Regards,
    Silviu


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


  • 4.  RE: in WM IS 8.2 Debug.log(int, String) has been deprecated

    Posted 01/08/14 11:14 AM


  • 5.  RE: in WM IS 8.2 Debug.log(int, String) has been deprecated

    Posted 01/08/14 10:38 PM

    You can use the java code below, it’s the same with debugLog service.

    
    JournalLogger.log(4, JournalLogger.FAC_FLOW_SVC, JournalLogger.DEBUG,"function", "message");

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


  • 6.  RE: in WM IS 8.2 Debug.log(int, String) has been deprecated