Logging Events

Under normal circumstances, it is not necessary to log all events. Typically, the events that should be logged are events that indicate a failure state; for example, E_BatValFail or E_MappingAborted or events that are deemed to be of high significance that occur infrequently.

Only in a development environment, while testing the functionality of the solution, does it make sense to log every single event for debugging purposes. However, even here there is the possibility to turn on the EventProcessing flow trace as explained in Instrumentation and Trace and debug the system in this way.

The Log Event Flag should be set on the events while designing the FSMs.