Skip to Content

Problems using SAP Logging API

Hi,

I've currently some trouble to use the logging api as described in help or manual.

Currently I've included reference com.sap.tc.Logging to my web project. Obviously this reference is pointing to

loggingStandard.jar. This jar file is for JDK compatible logging.

So far the import

import com.sap.tc.logging.Location;

couln't resolved.

Could anybody assist me?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 20, 2005 at 01:37 PM

    Hi Axel,

    Try adding c:/usr/sap/<sid>/JC<instance>/j2ee/cluster/server0/bin/system/logging.jar to your eclipse project.

    Hope this helps,

    Marty

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Axel,

      I now see your problem and was able to replicate it. Unfortunately I dont know why it is using the LoggingStandard.jar file and don't typically work with web projects. That being said, if you add the external jar like I mention above, will the project compile and run correctly? Or is that a no-no for web projects?

      Marty

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.