Integrating Third-Party Logging Frameworks into SAP NetWeaver CE
Java application developers typically use the Log4j or Apache Commons Logging (JCL) frameworks to log information. SAP's business solutions use a proprietary SAP logging API, which is integrated into the SAP Solution Manager. It is recommended that Java applications running on SAP NetWeaver use the Logging API, since all logs are then accessible in one common format within one log viewer. This tutorial shows how the Java logging frameworks can be configured to log into SAP's logging infrastructure without touching any existing source code. The implementation of a required bridge that routes Log4j/JCL logs to SAP's logging infrastructure is shown.