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.
  1. In
    Project view
    , right-click
    Loggers
    and select
    New
    Event logger
    .
  2. In
    for the event logger, set the events of interest:
    1. Next to
      Event Configurations
      , select the
      plus
       icon.
      A set of event configuration properties appears.
    2. Set the event source nodes/objects.
      Source
      Event source
      value
      Listen subtree
      value
      Any project object:
      (no value)
      True
      A node/object and all its child objects:
      Dynamic link (parent node/object)
      True
      A specific project object:
      Dynamic link (specific object)
      False
    3. In
      Event type
      , select the event of interest type.
      TIP: Consider creating a dedicated event logger for audit event types.
    4. To log only the events generated by user interactions with the application, set
      Non-interactive sessions excluded
      to
      True
      .
    5. For each event of interest type, repeat 2.
  3. In
    Project view
    , select the properties of interest for the events:
    1. Select the
      Event logger
      object.
      The list of properties of the selected event types appears.
    2. Select a property to record and select
      Apply
      .
      The properties appear in
      Properties
      under
      Event fields to log
      .
    IMPORTANT:
    When selecting a property to record, a dynamic link is automatically set under
    Event fields to log
    . The dynamic link points to the corresponding event argument automatically selected by
    FactoryTalk Optix Studio
    . If the event argument does not represent the data of interest, select a different attribute in the dialog box.
    You can combine multiple event arguments by using dynamic links or converters (for example, a string formatter).
  4. To store the translations of the localized strings in the database1, in
    Locales
    enter the locale IDs. For example, enter en-US.
    For more information, see Sessions and locales.
  5. In
    Database
    , select the database to store the selected properties.
A database table for each event type is automatically created and configured.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.