summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_log.erl
AgeCommit message (Collapse)Author
2011-07-06Merge revision 1143375 from trunkFilipe David Borba Manana
Redefine logging macros With these macro definitions we don't evaluate the arguments if the corresponding log level is not enabled. This behaviour was accidently removed by the patch from COUCHDB-1054. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1143376 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11Merged revision 1101896 from trunkFilipe David Borba Manana
Fix logger crash when messages have unicode characters This closes COUCHDB-1158. Thanks Dale Harvey. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1101924 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07Merged revision 1067873 from trunkFilipe David Borba Manana
More efficient logging, closes COUCHDB-1054 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1067877 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07Merged revision 1056274 from trunkFilipe David Borba Manana
More explicit and helpful file access permission errors Closes COUCHDB-966 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1056275 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05remove double-spacing in couch.log output.Robert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@982621 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11Removing couch_util:read_file_size/1 because same functionality is provided ↵Filipe David Borba Manana
by filelib:file_size/1. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@963038 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13hack for log requests during make check, when logger is not runningAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954240 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13synchronous logging, COUCHDB-761. Patch by Randall Leeds.Adam Kocoloski
This patch fixes a bug where calls to get the log level could time out, resulting in an unexpected {ref(), integer()} message in the client's mailbox. This would crash some gen_servers that did not expect the message. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954229 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15replace regexp with re. Thanks Kim Shrier, Gordon Stratton. Closes COUCHDB-245Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@804428 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14wheeeeeeeeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794057 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06trimmed trailing whitespaceNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791350 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12add offset parameter so clients like Futon can deliver a consistent user ↵Jan Lehnardt
experience git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@774095 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12Add non-streaming log-file handler. A GET request to /_log will show the ↵Jan Lehnardt
last 1000 bytes of the logflie. More bytes can be requested with GET /_log?bytes=10000. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@774045 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13Changes and refactorings to couch_configDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@694989 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30- Rename configuration options and sections to allow for a nicer .ini file ↵Jan Lehnardt
and HTTP API calls. - Enable .ini parser to read variable assignments with spaces around the '='-sign. - Remove inadequate comment. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690513 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20Merge runtimeconfig branch back into trunkJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@687336 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20Added proper UUID generation and changed the details of how way debug ↵Damien F. Katz
logging is done to now use a more effcient macro instead of a function call. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@649948 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28Imported trunk.Christopher Lenz
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@642432 13f79535-47bb-0310-9956-ffa450edef68