Skip to content

SAP Cloud Logging service #9864

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions content/en/docs/deployment/sap-btp/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@ Since SAP Application Logging will soon be deprecated, you need to migrate your
3. Click **Connect Services** and restart your application to bind the new SAP Cloud logging service.
4. At this point, both **application-logs** and **cloud-logging** services will be active for your application.
5. Retain the **application-logs** service until its log retention period ends, to ensure access to existing log entries. Then, delete it following the instructions provided in the [Unbinding and Removing Services](/developerportal/deploy/sap-cloud-platform/#unbinding-and-removing-services) section above. After this, only the new SAP Cloud Logging service will remain active.
6. When using the **cloud-logging** service, upgrade **SapApplicationLogs** to the latest version. If you are using an older version, update the **Default Value** of the **LoggingService** constant to *cloud-logging* in the [SAP Logging Connector](https://marketplace.mendix.com/link/component/110219). For more information, refer to the [Using the Connector](/appstore/modules/sap/sap-logger/#using-the-connector) section of the *SAP Logging Connector* document.

## Troubleshooting

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,12 @@ To initialize the connector, do the following:
5. Double-click the **RegisterSubscriber** action make sure that **Log level** is set to the constant *SapLogLevel*:

{{< figure src="/attachments/appstore/platform-supported-content/modules/sap-logger/logger_edit_action.png" alt="log level is set to SapLogLevel" class="no-border" >}}

6. Edit the constant **SapLogLevel** to select the minimum log level which you want to send to the *SAP Business Technology Platform Application Logging service*. The supported log levels (case-insensitive) are `Debug`, `Trace`, `Info`, `Warning`, `Error`, and `Critical`.

6. Edit the **Default value** of the **LoggingService** constant to *cloud-logging* for SAP Cloud Logging, and to *application-logs* for SAP Application Logging.

{{< figure src="/attachments/appstore/platform-supported-content/modules/sap-logger/edit-logging-service-constant.png" >}}

7. Edit the constant **SapLogLevel** to select the minimum log level which you want to send to the *SAP Business Technology Platform Application Logging service*. The supported log levels (case-insensitive) are `Debug`, `Trace`, `Info`, `Warning`, `Error`, and `Critical`.

{{< figure src="/attachments/appstore/platform-supported-content/modules/sap-logger/edit_log_level_constant.png" alt="SapLogLevel is set to Info" class="no-border" >}}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.