cloudfoundry / java-buildpack-auto-reconfiguration

Auto-reconfiguration functionality for the Java Buildpack
Apache License 2.0
219 stars 103 forks source link

Log Warning: Skipping reconfiguration because cloud services already configured #65

Closed svenfrauen closed 6 years ago

svenfrauen commented 6 years ago

Hi,

I am getting a warning log message "Skipping reconfiguration because cloud services already configured" which is cause by this code line: https://github.com/cloudfoundry/java-buildpack-auto-reconfiguration/blob/master/src/main/java/org/cloudfoundry/reconfiguration/CloudServiceReconfigurationBeanFactoryPostProcessor.java#L53

The reconfiguration of my cloud services is probably skipped as I declared my own Configuration class from AbstractCloudConfig with my own Bean implementation of a ConnectionFactory for RabbitMQ.

Do I have to to do something to get rid of this warning (e.g. turn off auto reconfiguration). Or is this log message a developer information and might be better handled as logger.info or similar level. As I am using a warning/error logging tool this warning pops up as an issue for me.

Thanks for your help, Sven

nebhale commented 6 years ago

Yep, this should be at .info(). It appears to have gotten an unintentional upgrade during the latest round of refactoring.