How to Log - Portlet Page Bean Class

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.
It also display it on the UI.

Saludos,