Vaadin with Spring boot - how to set productionMode=true

Hi,

I am using Vaadin (7.4.6) with Spring boot. But when I am running the jar file, I have got the message Vaadin is running in DEBUG MODE.
I tried to add in application.properties

vaadin.servlet.params.productionMode=true

or

vaadin.static.servlet.params.productionMode=true

It doesn’t work…

Please help & advise.
Thanks

Are you using the official Spring addon? You should be able to use vaadin.servlet.productionMode See
https://github.com/vaadin/spring/blob/ad41df89e6df431227c64124c91821d3e8efb630/vaadin-spring-boot/src/main/java/com/vaadin/spring/boot/internal/VaadinServletConfigurationProperties.java
for more information.

Thanks Risto. It works! I was using the wrong wording…