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

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

1 Like

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.