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