Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Creating dedicated logging view in NWA for 3 custom applications

Hello All,

I have a requirement where I need to log messages from 3 custom applications (2 Portal DCs & 1 WD Java DC) into a dedicated logger view in NWA.

This messages should not be part of default traces/SAP logs.

Portal version is 7.4 SP9.

Exact words from requirement are as follows: -

The log entries should be visible under a separate section / view in NWA log viewer, it should not be logged in default traces or SAP logs.

The following information should be visible in the SAP Account Mapping log:

• Severity

• date

• time

• Message

• User

I am currently using below approach to log my messages in apps: -

private static final Location loc = Location.getLocation(MyClass.class);

private static final Category cat = Category.getCategory(Category.APPS_COMMON, MyClass.class.getName());

SimpleLogger.log(Severity.DEBUG, cat, loc, "DEBUG", "[static block] Inside static block of MyClass");

But I don't know how to log messages in separate view in NWA.

Please help.

Thanks & Regards,

Amey

replied

Hello Amey,
So you need to assign Administrator UME role to the group of admin users and it will grant permissions to use required log view.
Regards,
Roman.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question