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

[mender-client]: Add a configuration parameter for the log-level

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Progress
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Story Points:
      3
    • Backlog:
      no
    • Days in progress:
      0

      Description

      Currently the log level can only be set via the command line when running the mender client.

      However, it would be nice to be able to configure this in the configuration file.

      Therefore I would like to have the configuration parameter in the configuration file:

      {
      ...
      "LogLevel": <Level>
      ...
      }
      

      Acceptance criteria:

      • Create the configuration file parameter "LogLevel"
      • Verify that the level set is an acceptable, and warn if not.
      • The CLI parameter `log-level` will have to override this config!

        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:

                Zendesk Support