The /atg/reporting/datacollection/userprofiling/UserEventListener
component is notified whenever an insert, update, or delete is performed on either User or ContactInfo repository item descriptors in the Profile Repository. The user_
timestamp_
unique ID
.data
log created by the /atg/reporting/datacollection/userprofiling/UserFileLogger
component includes the following data:
Time stamp
Dynamo path to the repository.
Type of item that changed.
Repository item ID for the changed item.
Change type (insert, update, or delete)
The UserEventListener.properties
file includes several configurable properties that allow you to filter out information you do not want to log. The sourceRepositoryPathToItemDescriptorNames
property specifies which repository items have change information logged for them:
sourceRepositoryPathToItemDecriptorNames=\
/atg/userprofiling/ProfileAdapterRepository=user;contactInfo
The excludedEventTypes
property allows you to filter out change types that you do not want logged. There are four types of change event: UPDATE, DELETE, INSERT, and CACHE_INVALIDATE. By default, CACHE_INVALIDATE is excluded from logging. The property is set as follows:
excludedEventTypes=CACHE_INVALIDATE
The itemDescriptorToPropertyNames
property allows you to explicitly identify which properties you want to log UPDATE changes for:
itemDescriptorToPropertyNames=\
/atg/userprofiling/ProfileAdapterRepository:user=login
The following is an example of the user log:
10/19/2006 10:08:39 /atg/userprofiling/ProfileAdapterRepository
user 711 insert
10/19/2006 10:10:39 /atg/userprofiling/ProfileAdapterRepository
user 735 insert
10/19/2006 10:10:39 /atg/userprofiling/ProfileAdapterRepository
user 1710002 update