write Eventlog from own Event

Started by WilliCoyote, November 09, 2009, 11:04:19 AM

Previous topic - Next topic

WilliCoyote

Hallo Victor,

I have created a new event based of the Template SYS_THRESHOLD_REACHED/REARMED (ID 17/18).
The option on this made "write to eventlog" is deactive. The event is nevertheless listed in the Eventlog, however, this extends uselessly the SQL-DB.

What do I make wrong ?

best regards
WilliCoyote

Victor Kirhenshtein

It's a bug (or confusing feature) in event viewer. If event is not marked as "write to event log", then it will not be written to database. However, server notifies all connected clients about all events, and if event viewer is open at this moment, then event is displayed. If you close event viewer and open it again, you'll see that all past events without "write to event log" mark disappeared.
In a new console, event viewer will be separated to two different views - real time event monitor, which will show all events as they coming, and event log viewer, which will show events actually logged in database.

Best regards,
Victor

WilliCoyote


many thanks for the informations

best regards

WilliCoyote