REST API endpoint for accessing application logs


Ponraj E
 

Hi,

I want to get the application's dumped logs from the loggregator and not the tailing logs.
CLI provides me a command to do it: cf logs APP_NAME --recent displays all the lines in the Loggregator buffer.

But how do I do it via REST API endpoint? I had set the CF_TRACE=true to see the REST calls thats been fired to get the application log, but I see only the GET call to get the application details, but after that it just dumps the log.

Thanks for the help.

Regards,
Ponraj

Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.