Logging

On the ABAP door logging code mostly wraps the application log in an object-oriented API, as abap-log by Fabian Lupa does among other targets. The rest write elsewhere: a function module's parameters to a table of their own, or entries to Fluentd, Graylog or Loki outside the system.

Overview

SAP SHIPS

The application log records application-specific events: log objects are defined in SLG0, applications write entries through SAP function modules, and SLG1 analyses the log. In ABAP Cloud the Application Log API is the class CL_BALI_LOG.

Not covered: Inside the system. Logs are read in SLG1; the page checked describes the application log's own function modules and transaction.

SourceSAP Help — Application Loggingchecked
THE COMMUNITY ADDS

Object-oriented wrappers around the application log, as abap-log by Fabian Lupa and abap-cloud-logger do; exporters that send its entries to outside log systems such as Graylog or Loki, as abap-log-exporter does; and a port for ABAP transpiled to JavaScript, open-abap-bal from open-abap.

Artifacts11

11 of 11 artifacts
ArtifactSignals
Apps1
abap-log-exporterExports Business Application Log entries to Graylog or Loki
Signals
Quiet
Packages10
ABAP_LOGGINGObject-oriented wrapper around the Business Application Log
Signals
none
abap-cloud-loggerChainable logger for ABAP Cloud around CL_BALI_LOG
Signals
none
abap-fluentdFluentd client in ABAP for sending log lines to a collector
Signals
Quiet
abap-fm-loggerLogger storing RFC function module call parameters as JSON
Signals
none
abap-logABAP logging library with one interface across output targets
Signals
Quiet
ABAP-LoggerLogging library for ABAP over the Application Log
Signals
none
abap-message-loggerMessage logger for ABAP Cloud that saves to the Application Log
Signals
none
ABAP-PRCFramework for multi-step ABAP processes with monitoring
Signals
Functional boundary
open-abap-balApplication logging for ABAP transpiled to JavaScript on Node.js
Signals
none
sap-usi-logging-apiObject-oriented wrapper around SAP's Application Log (SLG1)
Signals
none

Content3

Group by
Piece, what it offers
Capturing Background Job Errors in SAP Using the Application Log (SLG0/SLG1)
SAP Community, bhuvaneswarg, Blog
ABAP Cloud Logger
SAP Community, Greltel, Blog
Unleashing ABAP Potential: An introduction to Extension Libraries (XCO)
SAP Community, tamitdassharma, Blog

Details

Coverage
statecore and community, ABAP
assessed
relationshipunassessed
also inCAP, BTP/BAIP, UI5
SourceSAP Help — Application Loggingchecked Sourcegreltel/abap-cloud-logger — READMEchecked
For your agent