Skip to content

Commit f3d048e

Browse files
Merge pull request #9559 from mendix/kv-SAP
SAP BTP: Logging feature
2 parents f1e8be2 + 3b414a9 commit f3d048e

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

content/en/docs/deployment/sap-btp/_index.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ To create a new environment, perform the following steps:
149149
150150
5. Enter the name of the environment. This can be anything you choose: for example Test, Acceptance, or Production.
151151
152-
{{< figure src="/attachments/deployment/sap-btp/sap-cloud-platform/08-sap-env-2.png" class="no-border" >}}
152+
{{< figure src="/attachments/deployment/sap-btp/sap-cloud-platform/08-sap-env-2.png" >}}
153153
154154
6. Set the size of the memory that the app needs in order to run. This can also be changed later.
155155
@@ -163,13 +163,17 @@ To create a new environment, perform the following steps:
163163
164164
9. Select **File Store Enabled** if your application makes use of FileDocument or Image objects. Other sorts of object do not need File Store to be enabled.
165165
166-
10. Set a **Subscription Secret** (required). This secret is associated with your Mendix production license. By entering the subscription secret, your application will run in this environment as production. If the subscription secret is invalid, your app will still run, but will restart every 2-4 hours and have a limitation of six concurrent users.
166+
10. To configure logging, select the **Logging** service you would like to use from the dropdown.
167+
168+
{{% alert color="info" %}} **Application Logs** has been the default logging service but will be deprecated soon. See [SAP Application Logging Service](https://help.sap.com/docs/application-logging-service/sap-application-logging-service/what-is-sap-application-logging-service) for more details on the deprecation of **Application Logs**. For older environments still using the **Application Logs** service, see the [Migrating from SAP Application Logging to SAP Cloud Logging](#migrating-cloud-logging) section below to ensure continued logging support.{{% /alert %}}
169+
170+
11. Set a **Subscription Secret** (required). This secret is associated with your Mendix production license. By entering the subscription secret, your application will run in this environment as production. If the subscription secret is invalid, your app will still run, but will restart every 2-4 hours and have a limitation of six concurrent users.
167171
168172
{{% alert color="info" %}}If you do not have a subscription secret, refer to our documentation on [Obtaining a Mendix License](/developerportal/deploy/licensing-apps-outside-mxcloud/#get-license) in *Licensing Apps* for details on submitting a request to Mendix Support.{{% /alert %}}
169173
170-
11. If you want the user to be redirected to a custom URL after they have logged in using XSUAA then, optionally, add **Redirect URLs**.
174+
12. If you want the user to be redirected to a custom URL after they have logged in using XSUAA then, optionally, add **Redirect URLs**.
171175
172-
12. Click **Next** to create the environment and finish the setup.
176+
13. Click **Next** to create the environment and finish the setup.
173177
174178
{{< figure src="/attachments/deployment/sap-btp/sap-cloud-platform/09-sap-env-3.png" class="no-border" >}}
175179
@@ -723,6 +727,19 @@ If you want to delete your app and all its resources, delete the environment and
723727
724728
You can still delete the app and its resources from the SAP BTP cockpit, but you will then have to remove all the resources individually.
725729
730+
## Migrating from SAP Application Logging to SAP Cloud Logging {#migrating-cloud-logging}
731+
732+
Since SAP Application Logging will soon be deprecated, you need to migrate your logging service to SAP Cloud Logging for older environments still using SAP Application Logging. To complete the migration, follow the steps below:
733+
734+
1. In the **Services** tab of the **Environment** details page, search for and select **cloud-logging** in the **Available Services** field.
735+
736+
{{% alert color="info" %}}Note that the user account must have entitlements for the SAP Cloud Logging service in SAP BTP.{{% /alert %}}
737+
738+
2. Select the appropriate **Plan** and upload a **File** if required.
739+
3. Click **Connect Services** and restart your application to bind the new SAP Cloud logging service.
740+
4. At this point, both **application-logs** and **cloud-logging** services will be active for your application.
741+
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.
742+
726743
## Troubleshooting
727744
728745
If you encounter any issues with your apps on SAP BTP, use the following troubleshooting tips to help you solve them.

content/en/docs/releasenotes/deployment/sap-cloud-platform.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ For information on the current status of deployment to SAP BTP and any planned r
1414

1515
## 2025
1616

17+
### May 25, 2025
18+
19+
#### New Features
20+
21+
* We introduced a new feature that allows users to select their preferred **Logging** service from the portal. For more information, see [Creating a New Environment](/developerportal/deploy/sap-cloud-platform/#NewEnvironment).
22+
1723
### April 18, 2025
1824

1925
#### Portal Improvements
48.5 KB
Loading

0 commit comments

Comments
 (0)