couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-706) Add support for logging to syslog
Date Thu, 01 Apr 2010 11:54:27 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Frank updated COUCHDB-706:
--------------------------

    Attachment: syslog.patch

With this patch, couchdb logs all couch_error error_reports (from the ?LOG_ERROR macro) to
syslog.
The errors are shortened to 120 characters (messages can get quite long and would clutter
up syslog otherwise).

For now, this requires 
syslog.beam in src/couchdb/ and 
syslog.so in src/priv, otherwise it will crash.
How does couchdb handle such external dependencies?

Are there any tests to measure performance impact?
Probably there should be a option in the config to activate this feature?


> Add support for logging to syslog
> ---------------------------------
>
>                 Key: COUCHDB-706
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-706
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core, Infrastructure
>            Reporter: Jan Lehnardt
>            Priority: Minor
>         Attachments: syslog.patch
>
>
> http://github.com/ngerakines/syslognif could be of help. Integrating this with CouchDB
should be reasonably simple with some guidance and would be a good project for somebody who
wants to start sending patches.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message