Date
1 - 3 of 3
Stdout from Spring Boot app in CF
Qing Gong
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?
Thanks! |
|
James Bayer
can you supply a simple sample example on github or similar that
toggle quoted message
Show quoted text
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)gmail.com> wrote:
I can get a simple Java app stdout (deployed using cf push JavaClass) to --
Thank you, James Bayer |
|
Qing Gong
Thanks James. It was my mistake in Spring Boot app configuration. The stdout did go to the firehose.
Sorry about this. |
|