Add an event logger
Configure an Event logger to display the stored values in a table.
Verify that a database is configured for the event logger. See Create a database.
- InProject view, right-clickLoggersand select .
- Infor the event logger, set the events of interest:Properties
- Next toEvent Configurations, select theplusA set of event configuration properties appears.
- Set the event source nodes/objects.SourceEvent sourcevalueListen subtreevalueAny project object:(no value)TrueA node/object and all its child objects:Dynamic link (parent node/object)TrueA specific project object:Dynamic link (specific object)False
- InEvent type, select the event of interest type.TIP: Consider creating a dedicated event logger for audit event types.
- To log only the events generated by user interactions with the application, setNon-interactive sessions excludedtoTrue.
- For each event of interest type, repeat 2.
- InProject view, select the properties of interest for the events:
- Select theEvent loggerobject.The list of properties of the selected event types appears.
- Select a property to record and selectApply.The properties appear inPropertiesunderEvent fields to log.
IMPORTANT:When selecting a property to record, a dynamic link is automatically set underEvent fields to log. The dynamic link points to the corresponding event argument automatically selected byFactoryTalk Optix Studio. If the event argument does not represent the data of interest, select a different attribute in theDynamic linkdialog box.You can combine multiple event arguments by using dynamic links or converters (for example, a string formatter). - To store the translations of the localized strings in the database1, inLocalesenter the locale IDs. For example, enter en-US.For more information, see Sessions and locales.
- InDatabase, select the database to store the selected properties.
A database table for each event type is automatically created and configured.
Provide Feedback