You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Frank (JIRA)" <ji...@apache.org> on 2010/04/01 13:54:27 UTC

[jira] Updated: (COUCHDB-706) Add support for logging to syslog

     [ 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.