java logging pcf spring spring-boot

how do I change log level in runtime without restarting spring boot application

I have deployed springboot application in PCF . I want to log the message based on the environment variable .What should I do so that the run time log level change will work without restarting the application?