Uploaded image for project: 'Couchbase Monitoring and Observability Stack'
  1. Couchbase Monitoring and Observability Stack
  2. CMOS-384

Agent: janitor logs do not have prefix

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Trivial
    • 0.3
    • 0.2
    • cluster-monitor
    • None

    Description

      The logging of all agent components should be prefixed, but the janitor's is not:

      2022-03-23T11:00:04.272Z INFO (Main) Running options [./cbhealthagent-linux-amd64]
      2022-03-23T11:00:04.272Z INFO (Agent Core) Cached credentials not found at /opt/cbhealthagent/cbhealthagent.pw, now waiting to receive credentials from a cluster monitor.
      2022-03-23T11:00:04.272Z INFO Starting janitor
      2022-03-23T11:00:04.272Z INFO (Agent Core) Starting Prometheus exporter
      2022-03-23T11:00:04.273Z INFO (Server) Starting {"port": 9092}
      2022-03-23T11:00:04.273Z INFO (Agent Core) Startup complete
      

      We've likely just forgotten a call to logger.Named("") when creating its logger.

      Attachments

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

        Activity

          People

            shaashwat.jain Shaashwat Jain
            marks.polakovs Marks Polakovs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty