How to record staging history

Bryan Johnson asked on September 25, 2017 18:38

When staging tasks are sync'ed, an event is written to the staging site's Event Log. I would like to store that information in a separate location so that I can maintain the staging sync history indefinitely. Is there a convenient way to run some custom code when an event is being written to the Event Log so I can write the info to a custom table? Or can you think of another way to capture the sync event and record it? Thanks for your ideas! (Kentico 10)

Recent Answers


Brenden Kehren answered on September 25, 2017 19:31

Simplest thing I'd do is create a page that just shows that data from the event log. You could write your own query against the cms_eventlog table and set the where clause to look for those specific events.

The other option is to create a global event handler to do some additional processing, but seems to be overkill if you ask me.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.