Skip to Content
Author's profile photo Jacek Wozniczak

Logging in Web Dynpro (Java) – a guide and tutorial for beginners [Part 3]

In the first part of my guide we were hardcoding all log configuration details in Web Dynpro classes. It is fast and simple method, sufficent when you’re studying Web Dynpro and you are creating 100 small tutorial projects on your local Netweaver’s proving ground. Of course you can create your logs in this way in real projects if you know what you are doing, but probably better idea is to move log configuration away from your code – this is because logs created in code are not visible in Netweaver’s administrative tools like Visual Administrator.


Log configuration (NW 7.0). 

There are two ways to go, all are well documented on SDN’s blogs and articles, so there is no need to write again by me.


1. Use log-configuration.xml in your Web Dynpro project. Detailed informations you can find here:

Log Configuration for a Web Dynpro application – by Pran Bhas


2. Configure logs via Visual Administrator

Step-by-Step Guide for Configuration of Any Application
Logs on SAP NetWeaver Administrator
– by Arvind Kugasia

Also look here:


Tutorial –  Logging & Tracing Mechanism in SAP – by SAP team


– make sure that log-configuration.xml is in META-INF directory and try to deploy it using Visual Administrator – see this thread:

Log-configuration.xml config does not show up in Visual Admin

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.