Revision tags: v7.0.2, v6.6.3, v7.0.1, v7.0.0, v6.6.2, v6.5.2, v6.6.1, v6.0.5, v6.6.0, v6.5.1, v6.0.4, v6.5.0, v6.0.3, v5.5.4, v5.5.5, v5.5.6, v6.0.1, v5.5.3, v6.0.0, v5.1.3, v5.5.2, v5.5.1, v5.1.2, v5.1.1 |
|
#
7c4c8272 |
| 27-Feb-2018 |
Trond Norbye <trond.norbye@gmail.com> |
MB-27986,MB-28225,MB-27882: Remove log dedupe and flush at 200ms This patch removes the deduplication logic from the logger as we want to make sure that we dump (and flush) our log "imme
MB-27986,MB-28225,MB-27882: Remove log dedupe and flush at 200ms This patch removes the deduplication logic from the logger as we want to make sure that we dump (and flush) our log "immediately" to the files. All of the log is written in a dedicated thread which use a buffered FILE stream. We don't want to flush this stream for _every_ log message (as that is typically 100 bytes or so) which would cause a significant increse of file IO. Instead we want the logger to keep writing data to the FILE pointer, but if no log message is provided within 200ms we'll cause FILE stream to be flushed to disk. This means that we'll try to fill up the FILE streams buffer issue fewer actual filesystem calls, but at the same time we won't keep the data in those buffers hanging around for a long time. Change-Id: I1f320dc540d39d9890c8ba84e89b0ce1f203aaa1 Reviewed-on: http://review.couchbase.org/90146 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Dave Rigby <daver@couchbase.com>
show more ...
|
#
2f25a169 |
| 29-Jan-2018 |
Trond Norbye <trond.norbye@gmail.com> |
Replace blackhole logger with spdlogs null sink Add a new property "console" to the logger config which may be set to false (it is enabled by default) If console is set to false we'l
Replace blackhole logger with spdlogs null sink Add a new property "console" to the logger config which may be set to false (it is enabled by default) If console is set to false we'll use null sink instead of stderr. As an extra bonus we'll use the colored sinks when the unit_test option is set to true. Change-Id: I690b7022e2cef04b98fd8ebc4ddd39d9913a0d42 Reviewed-on: http://review.couchbase.org/88493 Reviewed-by: Dave Rigby <daver@couchbase.com> Tested-by: Build Bot <build@couchbase.com>
show more ...
|
#
14052dea |
| 19-Jan-2018 |
Trond Norbye <trond.norbye@gmail.com> |
Refactor: move the spdlogger to memcached_logger Instead of doing dynamic loading of the logger it is linked into the binary. Change-Id: I1577397cc29ecd4f73a50836391a985bac94fe7
Refactor: move the spdlogger to memcached_logger Instead of doing dynamic loading of the logger it is linked into the binary. Change-Id: I1577397cc29ecd4f73a50836391a985bac94fe7f Reviewed-on: http://review.couchbase.org/88092 Reviewed-by: Dave Rigby <daver@couchbase.com> Reviewed-by: Tim Bradgate <tim.bradgate@couchbase.com> Tested-by: Build Bot <build@couchbase.com>
show more ...
|