Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-107

Improve readability of spec update msg

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Major
    • 1.0.0
    • None
    • operator

    Description

      Current logging is an escaped json string.

      time="2018-01-09T21:24:24Z" level=info msg="spec update: Old Spec:" cluster-name=cb-example module=cluster time="2018-01-09T21:24:24Z" level=info msg="{" cluster-name=cb-example module=cluster time="2018-01-09T21:24:24Z" level=info msg="    \"baseImage\": \"couchbase/server\"," cluster-name=cb-example module=cluster

      This makes debugging what changed a harder than necessary.  If possible, let's try to print out as yaml or as a formatted way.

       

       

       

      Attachments

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            tommie Tommie McAfee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty