Skip to Content
Author's profile photo Rui Nogueira

Featured Code Exchange project: Java Logging 4 SAP

During TechEd 2010 Las Vegas I met Peter Kulka and I’ve asked him to talk a little bit about his  Java Logging 4 SAP project on Code Exchange.

Watch what he has to say about it and find out how you can use it to integrate other logging frameworks into SAP NetWeaver.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Matthias Steiner
      Matthias Steiner
      Hi Peter,

      your project sounds interesting and I'll have a look at the source code as soon as my account is ready.

      I've been tinkering around a very similar concept of abstracting the SAP logging/tracing API in several projects in order to re-direct the logging/tracing statements to the console in case we run our coding as JUnit tests. Is there an overlap?

      Best regards,

      Author's profile photo Peter Kulka
      Peter Kulka
      Hello Matthias,

      first of all, thanks for your interest in this project!

      I thing our two appoaches have the similar goal to handle the logging in Java applications a bit more flexible, however, my understanding is that we have different assumptions. If I understand you correctly than your intention is to have the flexibiliby to switch between different logging frameworks, such as log4j, Jakarta Logging, the SAP Logging API, etc. The project here assumes that a Java application already uses either log4j or Jakarta logging and that the logging should be changed to write the logs using the SAP Logging API.

      Kind regards,