How to store a scaleable sized extensible event log?
Posted
by firoso
on Stack Overflow
See other posts from Stack Overflow
or by firoso
Published on 2009-05-21T18:48:43Z
Indexed on
2010/06/18
14:03 UTC
Read the original article
Hit count: 252
Hello everyone! I've been contemplating writing a simple "event log" that takes a paramater list and stores event messages in a log file, trouble is, I forsee this file growing to be rather large (assume 1M entries or more) the question is, how can I implement this system without pulling teeth, I know that SQL would be a possible way to go.
XML would be ideal but not really practical for scaleability if i'm not going nuts.
Example Log Entry
-----Time Date-------- ---------Sender----------------------- ---------Tags---------- --Message----------
12/24/2008 24:00:00 $DOMAIN\SYSTEM\Application$ :Trivial: :Notification: It's Christmas in 1s
© Stack Overflow or respective owner