Hi,
You would need to override method SetEventLogInfoInternal as described in this customization blog post:
global events blog post /// <summary>
/// Sets event log.
/// </summary>
/// <param name="eventLog">Event log object</param>
protected virtual void SetEventLogInfoInternal(EventLogInfo eventLog)
{
if (eventLog != null)
{
if (eventLog.EventID > 0)
{
eventLog.Generalized.UpdateData();
}
else
{
//TODO: check for custom table events
eventLog.Generalized.InsertData();
}
}
else
{
throw new Exception("[EventLogProvider.SetEventLogInfoInternal]: No EventLogInfo object set.");
}
}
Best regards,
Ivana Tomanickova