Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-218

Document log rotation settings in 2.5.x

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • None
    • 2.5.x
    • troubleshooting
    • TP Sprint 19

    Description

      In the Troubleshooting/Logs and Logging section in the 2.5.x Admin Guide, instructions are given on how to change the logging levels and location by editing the static_config file.

      What's not covered is changing the rotation size (error_logger_mf_maxbytes) and number of rotations (error_logger_mf_maxfiles) from the defaults (10MB and 20 respectively).

      There is a serious gotcha here as these values are encoded in the .siz files in the log directory itself, and if you change them in static_config then Couchbase Server will not start unless you completely empty the log directory.

      Attachments

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

        Activity

          People

            ruth Ruth Harris (Inactive)
            malarky Chris Malarky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty