Switches - 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)

The switches allow you to enable tracing for specific areas in the code. Each switch name describes the area of code for which the tracing can be enabled.

Setting the value for a switch to Off turns off tracing for that area. For example, setting the DatabaseAccessTraceSource switch to Off turns off all the tracing for the DAL. Or, if you want to trace only SQL statements, you can turn off all switches except the SQLTraceSource switch.

The switch values are:

  • Off – Turns off tracing

  • Error – Logs critical and error events

  • Warning – Logs critical, error and warning events

  • Information – Logs critical, error, warning and information events

  • Verbose – Logs critical, error, warning, verbose and information events

  • All - Same as verbose

SHARED Tip We recommend setting all values to Error for normal running. When investigating a specific issue, you can update the related switch to a higher value and then run the operation you want to trace. You can then set the value back to Error after completing the operation.