Skip to Content

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,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 28, 2015 at 03:00 PM


    You can creat custom view -

    If the logging information should not be in defaulTrace files you will need to write it in to custom log file.

    When you want to see custom logs in NWA Log Viewer - just use option to apload external file in Log Viewer
    Log Files -> Open External File


    CustomLogFile.jpg (24.1 kB)
    Add comment
    10|10000 characters needed characters exceeded