Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-28456

memcached.log file is too verbose / wrapping too quickly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.5.0
    • 5.5.0
    • memcached
    • None
    • Untriaged
    • Unknown

    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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              trond Trond Norbye
              drigby Dave Rigby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty