Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15661

Improve logging by using more appropriate levels

    XMLWordPrintableJSON

    Details

      Description

      There are a number of log statements using logging levels that are a bit too conservative. For example:

      • Flushing memtables is currently at debug. This is a relatively rare event that is important enough to be INFO
      • When compaction finishes we log the progress at debug
      • Different steps in incremental repair are logged as debug, should be INFO
      • when reaching connection limits in ConnectionLimitHandler.java we log at warn rather than error. Since this is a client disconnect it’s more than a warning, we’re taking action and disconnecting.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rustyrazorblade Jon Haddad
                Reporter:
                rustyrazorblade Jon Haddad
                Authors:
                Jon Haddad
                Reviewers:
                Alexander Dejanovski, Jon Haddad
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h