Re: Dynamically change log levels of apps deployed to CF

Siva Balan <mailsiva@...>

Thanks Mike. Assuming I have access to update using JMX, the question still
remains on what should I update to change logging level. I dont believe
they are exposed through JMX. Am I missing something?

On Thu, Aug 11, 2016 at 2:24 PM, Mike Youngstrom <youngm(a)> wrote:

Your app could expose an endpoint. Or you can enable JMX in the java
buildpack and ssh port forward to your running app and use a jmx console to
change some runtime config.


On Thu, Aug 11, 2016 at 12:52 PM, Siva Balan <mailsiva(a)> wrote:

We have a wide variety of Java apps(mostly spring boot) deployed to CF.
One of the challenges we have is to troubleshoot issues in Production when
these apps are running with a log level of INFO or higher(ERROR, WARN and
FATAL). Is there a way to dynamically change the log level from INFO to
DEBUG or TRACE for apps running on CF without having to redeploy the app or
restage the app in Production?



Join to automatically receive all group messages.