diff --git a/content/en/docs/deployment/sap-btp/_index.md b/content/en/docs/deployment/sap-btp/_index.md index b3f3df6c07e..c298e3d6ff9 100644 --- a/content/en/docs/deployment/sap-btp/_index.md +++ b/content/en/docs/deployment/sap-btp/_index.md @@ -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 diff --git a/content/en/docs/marketplace/platform-supported-content/modules/sap/sap-logger.md b/content/en/docs/marketplace/platform-supported-content/modules/sap/sap-logger.md index 4df021eb3eb..aa3bc1f485f 100644 --- a/content/en/docs/marketplace/platform-supported-content/modules/sap/sap-logger.md +++ b/content/en/docs/marketplace/platform-supported-content/modules/sap/sap-logger.md @@ -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" >}} diff --git a/static/attachments/appstore/platform-supported-content/modules/sap-logger/edit-logging-service-constant.png b/static/attachments/appstore/platform-supported-content/modules/sap-logger/edit-logging-service-constant.png new file mode 100644 index 00000000000..b234e613711 Binary files /dev/null and b/static/attachments/appstore/platform-supported-content/modules/sap-logger/edit-logging-service-constant.png differ