Debug Flags

The following NGA debug flags can be used for CTRL and UI.

Table 1.
Debug Flag Description
NGA_DP_GET_PERIOD

NGA_DP_GET_ASYNCH

NGA_ALERT_GET_PERIOD

NGA_ALERT_GET

NGA_DP_QUERY

Historical Query Functions:

You can activate debug Information for historical query functions. These debug flags report the requested backends and the returned amount of data (line count) with the queryId and the time stamp.

Note: The following flags only apply to query types, for those, the according query type debug flag explained above is set:
NGA_PRINT_RESULTS

If this debug flag is activated, also the actual query results are printed before these are sent from NGA to the user.

NGA_PRINT_DETAILS

Details of actions on the frontend are printed for the debugged query types.

NGA_TRACE_REQUESTS

The query is traced through all important steps on the backend side:

  • Backend receives a query
  • Backend sends the query to a database
  • Backend receives a result from the database
  • Backend sends the results to the frontend

    Timestamps of above steps are tracked on the backend side.

Note: The log messages are sent from the backend side to the frontend before being output.

It can therefore happen that certain log messages from the backend are only output

after the messages from the frontend, even though they have a more recent time stamp.

Pay attention to the timestamp.

NGA_TRACE_DETAILED

This debug flag shows more detailed information on the steps on the backend side, such as actual query to the database, answers of the database , ...

Timestamps of the steps are tracked on the backend side.