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

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 2.4.0-alpha2, 2.4.0
    • None
    • backend
    • 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.
      ```

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce