Risen Joe
Risen Joe

Reputation: 1

can someone explain how it is possible to downloading application logs files from cloudfoundry pivotal to local machine?

How can I download app logs files from cloudfoundry-pivotal to local machine. Any clue or links ? can someone explain how it is possible to downloading application logs files from cloudfoundry pivotal to local machine ?

I created a jHipster application and deploy it in cloudfoundry with pivotal web services(I am using a free trial).When I check with pivotal web services web interface, I do not see where my app log files.

Hope any jHipster guy who work with PWS with coudfoundry help me.

When i build and run locally, log files generated in locally. But when i deploy in cloudfoundry and run the app, i do not see my log files in cloud server through pivotal web service web interface.

Upvotes: 0

Views: 1554

Answers (1)

Kumaresh Babu N S
Kumaresh Babu N S

Reputation: 1698

Try this.. cf logs <app> --recent > applog.txt The text file will store in the local directory and will have all the app logs. This will work!

Upvotes: 2

Related Questions