You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jason Smith (JIRA)" <ji...@apache.org> on 2013/02/11 02:39:12 UTC

[jira] [Created] (COUCHDB-1677) Dedicated query server log file

Jason Smith created COUCHDB-1677:
------------------------------------

             Summary: Dedicated query server log file
                 Key: COUCHDB-1677
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1677
             Project: CouchDB
          Issue Type: New Feature
          Components: View Server Support
            Reporter: Jason Smith


Admins should be able to configure an additional log file, which only contains logs coming from query servers (i.e. `log()` in the built-in JavaScript one).

[log]
query_server_file = js.log

This creates an additional log file (relative to the dirname of _config/log/file) to which "log" messages from the query server are copied. (The original log file contents are unaffected by this feature.)

The query_server_file has no prefix or formatting (such as timestamps). It should feel like a direct tap into console.log(). If people want to add structure or timestamps to their log file, they can do it in the application.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira