Logging

Seeing what a running service did, in a form something can read afterwards — levels, a formatter that suits a laptop and one that suits a log service.

Overview

InCAPassessed
SAP SHIPS
Java →

com.sap.cds:cds-services-bom Logs through the Java logging facade under Spring Boot's configuration, with predefined loggers per runtime component and correlation ids.

Not covered: At lines of text. Correlating them across handlers and services is tracing, which is telemetry's entry, not this one.

Sourcecds.log — capirechecked
THE COMMUNITY ADDS

No community artifact is documented here.

InBTP/BAIPassessed

On BTP logging is where the lines go rather than how they are written: SAP Application Logging service collects an application's output from Cloud Foundry or Kyma into a searchable Kibana.

SAP SHIPS

Present, not yet described.

Not covered: At collection and whatever retention the plan sets. Nothing here decides what an application writes, and a log service is not an audit trail — that is audit logging.

THE COMMUNITY ADDS

SAP's side is the services that collect and keep an application's output: SAP Application Logging service and SAP Cloud Logging, which also takes metrics and traces. The community adds command lines that read Cloud Foundry logs from a developer's machine, as cf-logs does for one app and cf-tail does for every started app in a space.

InABAPassessed

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.

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.

InUI5assessed

In a UI5 app the running code is in the user's browser, so what it logs lands in that browser's console. The framework and the application write to one client-side log, and the question on this door is what reaches a developer who is not at that browser.

SAP SHIPSby design
Freestyle →

@openui5/sap.ui.core The OpenUI5 core: the module loader, the MVC runtime, data binding, routing, theming and the test stack, which is everything a UI5 app does before a single community package is added.

Not covered: In the browser. The log is read in the console of the browser's developer tools, and getting entries anywhere else is a listener the application registers and writes; the API documentation names sending them to a server as one use for that listener.

THE COMMUNITY ADDS

openui5-error-collector gathers plain JavaScript errors, unhandled Promise rejections, sap/base/Log events and Reporting API errors, from before the UI5 bootstrap on, and posts them to a configured server with navigator.sendBeacon. SRBJSLogger stays in the console and makes an application's own output stand out there, with a scope and a topic on every message and a command that logs the browser and screen details, optionally as a QR code.

Artifacts20

Group by20 of 20 artifacts
ArtifactSignals
Apps1
abap-log-exporterExports Business Application Log entries to Graylog or Loki
Signals
Quiet
CDS plugins1
@cap-js/audit-loggingCAP integration with the SAP Audit Log service
Signals
none
CLI tools2
@saptools/cf-logsLog fetcher and parser for one Cloud Foundry app
Signals
none
@saptools/cf-tailMerged log tail of every started app in a Cloud Foundry space
Signals
none
Packages14
@openui5/sap.ui.coreFramework core: module loader, MVC runtime, binding, routing, theming
Signals
none
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
com.sap.cds:cds-services-bomMaven bill of materials pinning CAP Java module versions
Signals
none
open-abap-balApplication logging for ABAP transpiled to JavaScript on Node.js
Signals
none
openui5-error-collectorUI5 library collecting an app's JavaScript errors
Signals
Quiet
sap-usi-logging-apiObject-oriented wrapper around SAP's Application Log (SLG1)
Signals
none
srbjsloggerA browser JavaScript logger whose log, warn and error calls write prominent output to the console, loaded into a UI5 app through index.html or the manifest's resources.
Signals
Quiet
Services2
SAP Application Logging service for SAP BTPCollects Cloud Foundry or Kyma logs into a searchable Kibana
Signals
none
SAP Cloud LoggingOpenSearch-based store for logs, metrics and traces
Signals
none

Content13

Group by13 of 13 pieces
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
SAP API ManagementのアクセスログをSAP Cloud Loggingで可視化する方法
SAP Community, yasuyukiuno, Blog
Show 8 more
Migration Journey from MuleSoft to SAP Integration Suite (CI)
SAP Community, Shailaja, Blog
Unleashing ABAP Potential: An introduction to Extension Libraries (XCO)
SAP Community, tamitdassharma, Blog
From Application Logging to Cloud Logging: Service Innovation Guide
SAP Community, Hariharan-Gandhi, Blog
From Application Logging to Cloud Logging: Service Migration Guide
SAP Community, Hariharan-Gandhi, Blog
Performance Trace Node.js App on BTP with Dynatrace
SAP Community, jeremy_ma_usa, Blog
SAP Cloud Logging Serviceでコンテナメトリクスを監視する
SAP Community, kyoneo, BlogA recipeRunnable code
Kyma Integration with SAP Cloud Logging. Part 1: Introduction and shipping Logs
SAP Community, gabbi, part 1 of 2, Blog
Migrating from Application Logging Service to Cloud Logging
SAP Community, bill_keyes, Blog
From Application Logging to Cloud Logging: Service Innovation Guide
SAP Community, Hariharan-Gandhi, Blog
SAP API ManagementのアクセスログをSAP Cloud Loggingで可視化する方法
SAP Community, yasuyukiuno, Blog
From Application Logging to Cloud Logging: Service Innovation Guide
SAP Community, Hariharan-Gandhi, Blog
Instance Sharing - SAP Cloud Logging
SAP Community, Hariharan-Gandhi, Blog
What’s next for the core platform capabilities of SAP Business AI Platform
SAP TechEd — session catalogue, TalkThe reasoning

Seen working2

ArtifactSignals
Samples2
cap-java-snippetsTen short CAP Java references, one document per topic
none
teched2025-XP265TechEd 2025 workshop on Day-2 operations for a CAP app on CF
none

Details

Coverage
statecore only, CAP
assessed
state in BTP/BAIPcore and community, assessed
state in ABAPcore and community, assessed
state in UI5core and community, assessed
also inBTP/BAIP, ABAP, UI5
Sourcecds.log — capirechecked SourceObservability (CAP Java) — capirechecked
For your agent