How to Log iin MWS

Hi,

I was wondering how can I log to MWS’s log inside the java Page Bean class that extends the BaseTaskDetailsPageBean.

How do I log?

I know there is log(string) methods but it doesn’t log to MWS logs where does it log?

Thanks

The error(string) methods seems to log the error on MWS’s log.

Also display it on the UI.

CAF provides a LogUtils class that you may use for simple logging from java code.

See: http://www.ajax-softwareag.com/articles/Y4LCDN/Caf-7-1-1JavaDocs/com/webmethods/caf/faces/util/LogUtils.html