cancel
Showing results for 
Search instead for 
Did you mean: 

own exceptions &

Former Member
0 Kudos

Hi all,

we have to develop for a Portal Application for NW 2004s with its own Logger:


public static void log (String msg, Level level){
    final ILogger myLogger = PortalRuntime.getLogger(
                                              "Enterprise_Glossary_Logger");
    myLogger.log(msg, level);			
}

But where to find those log-messages? How can we configure the Logger to produce Logfiles including our messages for analyzing them in LogViewer?

Thank you,

Regards,

Björn

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

According to SAP documentation, the Log API provide the following destination (these logs and traces should then be available from the LogViewer service or console in its application directory) :

- ConsoleLog: directs the messages to the System.err (java.lang.System). This log type is typically used in the debugging process for a quick overview of problems.

- FileLog: directs the messages to a file or a set of rotating files. For more information, see Output File.

- StreamLog: directs the messages to an arbitrary OutputStream (java.io.OutputStream)

Log implementation, coding and configuration can be found here (for NW04):

http://help.sap.com/saphelp_nw04/helpdata/en/4a/c3953ff1353c17e10000000a114084/frameset.htm

Hope this helps (a little)

Chris

Answers (1)

Answers (1)

GabrielSagaya
Active Contributor
0 Kudos