Description
With the various recent changes to logging / RBAC, we now have logging which is excessively verbose - we have less than 4 hours output when looking at a logfile from MB-28453 (CentOS longevity):
$ head -n5 memcached.log ; echo ---; tail -n1 memcached.log
|
==============================================================================
|
Memcached logs
|
['sh', '-c', 'cd "$1"; for file in $(ls -tr memcached.log.*); do cat "$file"; done', '--', '/opt/couchbase/var/lib/couchbase/logs']
|
==============================================================================
|
2018-03-01T08:17:20.269636Z INFO ---------- Opening logfile: /opt/couchbase/var/lib/couchbase/logs/memcached.log.000011.txt
|
---
|
2018-03-01T11:57:04.783916Z INFO 54 Closing connection as the other side closed the connection [ 172.23.99.23:57377 - 172.23.108.104:11210 (<ud>Administrator</ud>) ]
|
This isn't sufficient length to debug customer issues. We need to identify where messages can be reduced and remove them.
Attachments
Issue Links
For Gerrit Dashboard: MB-28456 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
90330,3 | MB-28456: Reduce logging related to connect/disconnect | master | kv_engine | Status: MERGED | +2 | +1 |
90343,2 | MB-28456: Remove Accepted new client log message | master | kv_engine | Status: MERGED | +2 | +1 |