factory for event log