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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Write to MWS Log file at Debug level from JSF Bean.

  • 1.  Write to MWS Log file at Debug level from JSF Bean.

    Posted Thu September 11, 2014 06:06 AM

    I want to write debug messages to the MWS log file (_full.log)
    In Java Bean code I have the BaseFacesBean method log(“Any message.”), but I don’t know how to write in DEBUG or TRACE level (only in INFO level)

    What is the easiest way to write at DEBUG level?

    Thanks


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 2.  RE: Write to MWS Log file at Debug level from JSF Bean.

    Posted Thu September 11, 2014 02:18 PM

    The easiest way would be to just directly use one of the support logging APIs (log4j, slf4j, java.util.logging) that are already included with MWS. All of those should result in similar output to the log file, so which one you use is really a personal preference.


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS