cancel
Showing results for 
Search instead for 
Did you mean: 

Logging....

Former Member
0 Kudos

Hi all,

I use the import com.sap.tc.logging.Location in order to log an application. But the same procedure doesn't works if I use a Java Web Dynpro. How to log it?

Thanks,

Vito

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vito,

in WebDynpro you don't need to import Location, that is automatically imported and Location is created. You have only to configure trace level for your location (I suppose that default level is error) and eventually Category in Visual Administrator (or in log configuration file) .

Regards

Bogdan

Former Member
0 Kudos

thx Bog,

could you tell me how to configure trace level for my location?

Thx,

Vito

former_member182372
Active Contributor
Former Member
0 Kudos

Hi Vito,

you can set required trace level for location in visual administrator (your instance -> server -> services -> log configurator), select tab locations, select Location you want to set up and set trace level which you need. Name of Location for class is simply fully qualified class name (package + name) but this location is not created automatically so you have to create it manually in VA (or via log configuration file) otherwise your messages are witting to firs higher level location which exist (b.e. your location is "com.first.second.MyClass" and exist location "com" then this location is selected.

Well, not to simple explained but I hope help a little.

Regards

Bogdan