Skip to Content
author's profile photo Former Member
Former Member

standard logger

Hello All,

How do i use the standard logger that comes with each webdynpro application?

private static final com.sap.tc.logging.Location logger =

com.sap.tc.logging.Location.getLocation(xxx.class);

static

{

//@@begin id

String id = "$Id$";

//@@end

com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);

}

And if i do use this logger where can i access these files?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Sep 25, 2005 at 05:34 PM

    Hi Vijay,

    see http://help.sap.com/saphelp_nw04/helpdata/en/b7/54e63f48e58f15e10000000a155106/frameset.htm and the links provided there including source code examples.

    Hope it helps

    Detlev

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2005 at 01:48 AM

    Hi Vijay,

    All the logs using the standard logger can be viewed in Log Viewer in Visual Adminisatrator. You have to configure the log viewer to display your error messages.

    Regards

    Prakash

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2005 at 01:54 AM

    Hi Vijay

    You will have to create a location for <package name>.xxx and set a log level for it. You can do this via log configurator service in Visual Admin or by a log configuration file for webdynpro. This blog might help

    /people/sap.user72/blog/2004/11/10/log-configuration-for-a-web-dynpro-application

    Regards

    Pran

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.