Re: Stdout from Spring Boot app in CF

James Bayer

can you supply a simple sample example on github or similar that
demonstrates the issue? i haven't had issues with using spring boot logs on
CF before.

On Thu, Sep 10, 2015 at 5:56 AM, Qing Gong <qinggong(a)> wrote:

I can get a simple Java app stdout (deployed using cf push JavaClass) to
go to firehose as logging messages. However, when I deployed a Spring Boot
app, I don't get the logging (to stdout) messages from the firehose. If I
just ran the Spring Boot app alone (using java -jar SpringBootApp.jar
instead of cf push SpringBootApp.jar), I could get the messages coming out
in the console or log file that I configured through log4j. System.out also
works fine in the console. So, why stdout doesn't work from a Spring Boot
app for firehose collection? How is it different from a plain Java app
which works fine for firehose?

Thank you,

James Bayer

Join to automatically receive all group messages.