cancel
Showing results for 
Search instead for 
Did you mean: 

standard logger

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

detlev_beutner
Active Contributor
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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