The content provider framework includes the ContentProvidersLogger class in order to simplify writing to the J2EE log. The class exposes one static method, getPPLogger(), which exposes the portal platform logging interface. From this interface, you can call the log() and trace() methods to send information to the log.
All logs created with this class are written to the following category and location:
Category: /Server
Location: com.sap.portal.httpConnectivity.xmlIViewsRuntime
Note
Writing to the log slows performance of the portal, so you should only log information when you really need to.
There are two target audiences for the information sent to the log:
System Administration: System administrators should be able to see where the problem occurred and what configuration problems exist.
This information should be logged using the log() method, as follows:
ContentProvidersLogger.getPPLogger().log("Information to Log")
Development Support: Development support engineers should be able to see what actions were performed when the problem occurred.
This information should be logged using the trace() method, as follows:
ContentProvidersLogger.getPPLogger().trace ("Information to Log")