on 05-06-2008 7:58 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
please go through the documentation
http://help.sap.com/saphelp_nw04/helpdata/en/28/64eb411a7f6324e10000000a1550b0/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.