Log4g Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Log4gCouchdbAppender; Log4gCouchdbAppenderClass; GType log4g_couchdb_appender_get_type (void
); void log4g_couchdb_appender_register (GTypeModule *module
);
The CouchDB appender logs events to a specified database using a Log4gCouchdbLayoutClass.
CouchDB appenders accept the following properties:
uri
database-name
credentials
The value of uri determines the network location of the CouchDB where
output will be logged. If the value of uri is NULL
then this appender
will attempt to log messages to the CouchDB at <http://127.0.0.1:5984>.
The value of database-name determines the name of the database that will store the log output. The default value is "log4g_messages".
The credentials property enables authentication with the CouchDB server.