on 06-13-2006 1:15 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vito,
Check http://help.sap.com/saphelp_nw04/helpdata/en/e2/f410409f088f5ce10000000a155106/frameset.htm
Best regards, Maksim Rashchynski.
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
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.