Quantcast
Channel: SCN : Discussion List - SAP Enterprise Portal : Administration and Development
Viewing all articles
Browse latest Browse all 2686

Creating dedicated logging view in NWA for 3 custom applications

$
0
0

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


Viewing all articles
Browse latest Browse all 2686

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>