Component-Level Logs
Use
All the component-level logs are written using a trace log API and are available as part of the application log.
-
How do I launch the application?
http://<host>:<port>/sap/fcprt?app-config=<app config name>
-
How do I launch the application in debug mode?
http://<host>:<port>/sap/fcprt/d?app-config=<app config name>
-
How do I enable debug mode in the application?
To enable debug mode, the Flex Client Platform (FCP) server parameter pp-enable-debugging=true must be set and the URL query parameter debug=true must be used when launching the application.
For example: http://<host>:<port>/sap/fcprt?app-config=<app config name>&debug=true
-
How do I enable support mode in the application?To enable support mode, the FCP server parameter pp-support-mode=true must be set and the URL query parameter support-mode=true must be used when launching the application.
For example: http://<host>:<port>/sap/fcprt?app-config=<app config name>&support-mode=true
-
How do I see status of the various plug-ins and the reasons why some plug-ins are not loaded?
As a prerequisite, enable the support mode.
-
After launching the application in support mode, right-click the application and select Support Info.
In the Loaded Plug-ins tab of the Support Information dialog, you can see information about the loaded plug-ins, the state of the plug-ins and the error information for plug-ins that could not be loaded.
-
-
How do I see the version information of the plug-ins?
As a prerequisite, enable the support mode.
-
After launching the application in support mode, right-click the application and select Support Info.
In the Loaded Plug-ins tab of the Support Information dialog, you can see information about the version and the build number of the plug-in.
-
-
How do I enable logging and tracing for the application client?
To enable tracing on the client, the FCP server parameter pp-enable-trace=true must be set and the URL query parameter show-trace=true must be used when launching the application.
For example: http://<host>:<port>/sap/fcprt?app-config=<app config name>&show-trace=true
Logging is always enabled on the client (though you can technically set logging level to NONE, which would mean no statements are logged on the client, this is not recommended). To configure which levels of statements to be logged, set the FCP server parameter pp-log-filter to one of the appropriate values (ERROR|FATAL|SUCCESS|WARNING|INFO|NONE|*)
For example: To enable only statements with levels ERROR and FATAL to be logged, set pp-log-filter=ERROR|FATAL
-
How do I enable the startup trace in the application?
As a prerequisite, enable the tracing on the client.
When launching the application, use the URL query parameter show-trace=startup. During the loading of the client, you see a dialog with the trace information collected during startup.
For example: http://<host>:<port>/sap/fcprt?app-config=<app config name>&show-trace=startup
-
How do I view the log console/How do I send the client logs to the server?
As a prerequisite, enable the logging and tracing on the client.
After launching the client, right-click and choose Show Message Log Console. The dialog box displays the logs and traces. The dialog also provides an option to transmit the client logs to the server and to turn off tracing on the client for the session duration.