Skip to Content

Logging and tracing - NWA settings for custom location

Hi developers,

As you may know, standard SAP components can have their trace level increased or decreased from NWA -> log configuration.

Now, I would like to enable my applications to the same feature. I actually only use getLocation (infoT, debugT, etc....)

How can this be done?

Thanks, regards


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 13, 2011 at 02:06 PM


    You can try to use log4j for loggin in your applications.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 21, 2011 at 12:35 PM


    in my standard Java Web-Applikation I am using log4j.

    If they run under the SAP-NetWeaver I used the technic of a "SAP Logging Bridge for Log4j".

    This bridge transfers all the log4j-messages into SAP-Logger-messages.

    So you can use the normal SAP-Logging-Tools and mechanism for reading and configuration of logging-informations.

    Here is the link to the documentation "Integrating Third-Party Java Logging Frameworks into SAPu2019s Logging Framework":

    I hope it will fix your problem;-)



    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.