Uploaded image for project: 'Percona Operator for MongoDB'
  1. Percona Operator for MongoDB
  2. K8SPSMDB-848

Remove formatted strings from log messages

Details

    • Improvement
    • Status: Done
    • Medium
    • Resolution: Fixed
    • None
    • 1.14.0
    • None
    • None
    • Yes
    • Yes
    • Yes

    Description

      We are using github.com/go-logr/logr as our logging API which encourages the usage of structured logging where the message is a constant value and the dynamic part is passed as KV pairs.

      There are places where we format strings in our logging messages and we should align everything with the best practice suggested by the lib we use and the majority of our ecosystem (for example k8s).

      Attachments

        Activity

          People

            Unassigned Unassigned
            inel.pandzic Inel Pandzic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist