I recently had a look at Log4Net before we decided to go with Ruby On
part of evaluating Ruby and Rails, I had a look at Log4r as well.
We want to use Log4r, and we would have a logger that output all levels
console and stdout, and everything above Warn to a database table. But
deployment of log4r doesn’t come with a database outputter. Is there
reason for this?
Anyway, I’ve written an outputter for log4r that uses Ruby DBI and the
driver for MySQL. I’ve also enhanced the basic formatter and logevent
an optional extra field after the message. This eventually gets written
userid column in the database so that we can find out who’s been
system :-D. Because the field is optional, Rails is happy to use log4r
output its own messages.
I tried contacting the author of Log4r, but got no response. Does
these enhancements? Should I upload the changes somewhere? In any case
like somebody to peer review the enhancements in case there are