forked from apache/couchdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Logging to file now uses OTP's specialized disk_log module. Writes to the log file are no longer done inside the gen_event handler but instead forwarded to disk_log. For debug and info level messages, we use disk_log's asynchronous API, while for error messages we use the synchronous API (we want to avoid losing error messages if the server is killed/crashes, as they provide useful information about what went wrong before a crash). Closes COUCHDB-1218. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1157434 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
Showing
2 changed files
with
34 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters