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

Refactor: Unify the logging

    XMLWordPrintable

    Details

      Description

      Currently the log-setup is a little hacky, and as far as I can tell, can be significantly simplified through implementing our own custom root-logger to handle both regular logging, and turning on and off the deployment logging.

      Also, it'd be nice if each module set up it's own sub-logger, so that not all log messages start with:

       root: TIME MESSAGE ...

      Instead I want:
      module: TIME MESSAGE...

      as the regular log message.

       

      Acceptance criteria:

      • Implement a custom logger for the Python client
      • Make modules have their own sub-loggers

       

        Attachments

          Activity

            People

            • Assignee:
              Nils Olav Nils Olav Kvelvane Johansen
              Reporter:
              oleorhagen Ole Petter Orhagen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support