Slashdot | How Should an Application's Logs Work?
Slashdot | How Should an Application's Logs Work?: "In my experience, logging each request to a database isn't fast enough and eventually it becomes CPU overloaded.
tab separated plain text logging is just fine and dandy. Syslog is great because it has a standard format so any tools you make will just keep on trucking.
If you want a db of it do it in batch mode when you need it i.e.
zcat messages.0.gz | syslogtodb | grep httpd | mysql httpd
Why waste those CPU cycles indexing millions of lines of logging you'll never look at ?"
0 Comments:
Post a Comment
<< Home