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

old debug log files should be compressed and save in one week before deleted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.0-beta
    • Fix Version/s: feature-backlog
    • Component/s: ns_server
    • Security Level: Public
    • Labels:
    • Environment:
      all

      Description

      Our debug logging system currently deletes old log file when the size of log file reaches 10 MB. That is not good if there are so many repeat error pumping into log system. We will lose log we need to debug the failure.

        Issue Links

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

          Activity

          Hide
          karan Karan Kumar (Inactive) added a comment -

          Noticed that on longetivity cluster, logs are recycled pretty quickly, if there are lot of activities.

          One can change the number of files and limit of size of each file via, configuring the static_config file.
          static config file
          /opt/couchbase/etc/couchbase/static_config

          {error_logger_mf_maxbytes, 10485760}

          .

          {error_logger_mf_maxfiles, 20}

          .

          But we still would not archive the older logs.

          Show
          karan Karan Kumar (Inactive) added a comment - Noticed that on longetivity cluster, logs are recycled pretty quickly, if there are lot of activities. One can change the number of files and limit of size of each file via, configuring the static_config file. static config file /opt/couchbase/etc/couchbase/static_config {error_logger_mf_maxbytes, 10485760} . {error_logger_mf_maxfiles, 20} . But we still would not archive the older logs.
          Hide
          farshid Farshid Ghods (Inactive) added a comment -

          important for supportability.

          Show
          farshid Farshid Ghods (Inactive) added a comment - important for supportability.
          Hide
          alkondratenko Aleksey Kondratenko (Inactive) added a comment -

          That looks like feature creep. I'd like to avoid this work

          Show
          alkondratenko Aleksey Kondratenko (Inactive) added a comment - That looks like feature creep. I'd like to avoid this work
          Hide
          peter peter added a comment -

          Moving to .next and assigning to Dipti. Since there are tools to do this we may want to look into archiving log files holistically after 2.0.

          Show
          peter peter added a comment - Moving to .next and assigning to Dipti. Since there are tools to do this we may want to look into archiving log files holistically after 2.0.
          Hide
          perry Perry Krug added a comment -

          Duplicate of mb-7427

          Show
          perry Perry Krug added a comment - Duplicate of mb-7427

            People

            • Assignee:
              dipti Dipti Borkar
              Reporter:
              thuan Thuan Nguyen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes