Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1516

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 5.2.0
    • None
    • None
    • 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

              Unassigned Unassigned
              wko Woonsan Ko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: