Setting up SmartPlant Foundation client logging - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

SmartPlant Foundation client activity can be logged using the settings.xml file.

When SmartPlant Foundation client logging is enabled, the SPFServerRequestLog.csv file is created in the directory you specify. To enable the client debug log, you must update the settings.xml file in the <Installation Directory>\SPFDesktopClient folder.

In the settings.xml file, modify the debug level and dir tags as follows:

<configuration>

<debug level="1" dir=c:\Temp\SPF40Debug" />

...

</configuration>

The path specified for the dir tag is the location to which the SPFServerRequestLog.csv log file is stored.

Below is an example of data in the SPFServerRequestLog.csv file:

GetColumnSetAndItems 2 0.347 0.362862

GetViewDefsForReports 56 3.076 3.096136

GetScopedByForIDefs 1 0.344 0.359496

Below is a description of the columns in the SPFServerRequestLog.csv file:

Column

Description

1

Server API; the server function that handles the client request.

2

Number of objects returned.

3

Amount of time (in seconds) taken for the server to process the request and respond to the client.

4

Total latency; amount of time (in seconds) taken for the server to process the request combined with the amount of time taken for Desktop Client to process the response.