- no debug log output when executing the upgrade with default log configuration in environment folder
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.