Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1911

Remove debug log on unset elasticsearch user/password when running the upgrade

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0, 2.4.0-alpha2
    • Component/s: backend
    • Labels:
      None

      Description

      AT:

      • no debug log output when executing the upgrade with default log configuration in environment folder

      Notes:
      It seems like the config from the classpath (having optimize debug set to debug) is used till defineLogbackLoggingConfiguration is called.
      The log config from the environment config should get initialized first when running the upgrade.

      Raised in https://github.com/camunda/camunda-optimize/pull/264
      Now there is debug message is coming when performing the upgrade. This is due to the logging configuration being registered in the UpgradeExecutionPlan class. We could solve this by making the upgrade interface an abstract class and perform the registration there. This is the debug message:

      ```
      15:59:08.726 [main] DEBUG o.c.o.u.e.ElasticsearchHighLevelRestClientBuilder - Elasticsearch username and password not provided, skipping connection credential setup.
      ```

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: