Uploaded image for project: 'Hippo Repository'
  1. Hippo Repository
  2. REPO-1516

Groovy Updater - Be able to change the log level (from DEBUG level)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Platform
    • Sprint:
      Platform 175

      Description

      Sometimes, I want to leave logs higher than DEBUG. But unfortunately, the log level is set in a hard-coded way to DEBUG in UpdaterExecutionReport.java.
      If it is able to change the log level in script somehow, it would be great.

      For example,

      • Add a log level dropdown in UI to select TRACE, DEBUG, INFO before execution.
        (WARN or ERROR should not be available in the updater UI because the updater engine leaves some important info level logs.)
      • When executed or dry run, it creates logger based on the selection (probably a new @hipposys:loglevel property on the update node).
        UpdaterExecutionReport could be created from UpdaterExecutor with the log level specified.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wko Woonsan Ko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: