Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5856

[mender-client]: Log the default configuration values when nothing is set

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Backlog:
      yes
    • Days in progress:
      0

      Description

      By default, the client falls back to some internal configuration defaults (considered sane), when the configuration file does not provide any values.

      See https://github.com/mendersoftware/mender/blob/master/conf/config.go

      But some defaults are logged like:
      `UpdatePollIntervalSeconds is not defined`. However , this would be a lot more useful, if the actual fallback was part of the log message.

      https://github.com/mendersoftware/mender/blob/master/app/mender.go#L424

      Acceptance criteria:

      • Go through all the configuration parameters, and make sure that the values are logged when used as fallbacks.

        Attachments

          Activity

            People

            Assignee:
            mikael.torp-holte Mikael Torp-Holte
            Reporter:
            oleorhagen Ole Petter Orhagen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: