Skip to Content
0
Former Member
Aug 08, 2012 at 04:22 PM

Portal Component - Logging

28 Views

Hi,

I've made a portal component and I've added some logging instructions but I can't see the output in the Netweaver Administration (NWA)'s Log Viewer.

This is what I wrote:

private static final Location log = Location.getLocation(SSORedirector.class);

And then in the doContent method

log.infoT("Test");

But I'm not seeing anything in the log Viewer.

I'm only getting two Errors when I call the Portal Component:

Failed (javax.management.MBeanPermission,*,DISPLAY)java.lang.reflect.InvocationTargetException

and

Failed (javax.management.MBeanPermission,*#*[*:j2eeType=trace,name=EndToEndCentralMBean,*],isActive,getGuidByName,getTraceLevelByName,getTraceLevelByName,importTrace,isFileExistsLocally,removeTraceFile)java.lang.reflect.InvocationTargetException

Can someone help me to understand why I get the errors and not the "Test" string in the log?


Thank you,

Pietro