|Java Application Logs||Exceptions||Collects exceptions in Java Logs for applications running in SAP Business Technology Platform|
Determine Root URL
Create User for Java Log Monitoring
To connect to SAP Business Technology Platform to collect Java application exceptions you need to provide SAP Cloud ALM with a user that is allowed to read the default trace.
Retrieve Technical Name for the Subaccount
To successfully read Java application logs you need to provide the technical name of the subaccount in which the Java application is running in the Landscape Management of SAP Cloud ALM.
You find the technical name of the sub-account on the sub-account "Overview" page under Subaccount Information → Technical Name.
Write Java Errors into Default Trace
This last preparation step starts already during the development of the SAP Business Technology Platform application. To be able to collect application errors, these errors must exist in the default trace for the SAP Business Technology Platform java application. Hence developers must write meaningful errors in this trace. The quality of the monitored exceptions completely depends on the quality of the exceptions written by the developer.
Create a new SAP BTP Neo Service in Landscape Management
While your SAP BTP - Neo service is already imported in the Landscape Management via the SLIS import, the imported tenant ID is currently not sufficient to retrieve Java application errors.
Hence you have to manually create an additional entry in Landscape Management for the SAP BTP - Neo service with the correct tenant ID.
Create Endpoint for Java Application Error collection
Because you have to choose the correct end-point for each of the categories in SAP Business Technology Platform - Neo you have to activate the monitoring manually.
Adjust Monitoring Categories
Available Alerts for SAP Business Technology Platform - Neo
Available Filter Fields for SAP Business Technology Platform - Neo
The filter fields depend on the monitoring category the alert is created for and additional on the filter category, if there is more than one available.
Java Application Logs