couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Jackson <foamd...@gmail.com>
Subject Re: Logging into a database
Date Sun, 18 Oct 2009 09:01:13 GMT
Hi,

> I had an itch to scratch and now there is an experimental branch that
> enables logging to a database:
>
>  http://github.com/janl/couchdb/commits/log-to-db
>
> Check out the test case on how it is supposed to work:
>
> http://github.com/janl/couchdb/blob/5cbfbeaddea2152e35b88cae515152f78d6b7544/share/www/script/test/log_database.js
>
> You just create a `database = dbname` entry in your configuration under the
> `[log]` section and CouchDB will start to write log entries to the specified
> database.

I like the idea of being able to log to a db, but is it possible to
abstract away the logging so that we just log and the destination is
entirely configurable (no-sql db/rdbms/message q, or heaven forbid
flat file)?

Just a thought

Kev

Mime
View raw message