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

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.4.0-alpha2, 2.4.0
    • None
    • backend
    • None

      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.
      ```

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: