Re: Logs on File System

Vinod Singh <vinoddandy@...>

Thanks for quick response, folks :-)

I am using DEA CLoud Foundry and finally we shall integrate with ELK system.

In interim solution I was wondering if I can drain logs somehow outside CF
compnents on File system. It would be difficult for me to change the code.
The logs are being written on syslog out.


On Fri, Aug 5, 2016 at 2:45 PM, Daniel Jones <
daniel.jones(a)> wrote:

Hi Vinod,

If you need to make the logs available to somewhere that they can be read
easily, then the 'correct' solution is to use a log management service
like Splunk, Loggly, LogSearch <> or similar.

If, as I suspect, you need a tactical solution in a hurry to get these
logs somewhere other than the container's transient filesystem, then you
might want to consider using a different appender
<> that perhaps
writes to a SQL database or some other permanent data store. This is
definitely *not* the right answer though, and could be considered a quick
hack at best.

Daniel Jones - CTO
+44 (0)79 8000 9153
@DanielJonesEB <>
*EngineerBetter* Ltd <> - UK Cloud Foundry

On Fri, Aug 5, 2016 at 7:11 PM, Daniel Mikusa <dmikusa(a)> wrote:

On Fri, Aug 5, 2016 at 2:11 PM, Daniel Mikusa <dmikusa(a)> wrote:

On Fri, Aug 5, 2016 at 12:17 PM, Vinod Singh <vinoddandy(a)>

Hi All,

I have application running on Cloud Foundry with Default Java Build

For immediate solution, I need to drain application logs on File system.
Can you expand on this? What exactly are you trying to do? Delete the
log files written by the app? Download log files written by the app for
review? something else?

Do you recommend any quick solution please ?
Do you have Diego? If so, `cf ssh` can do most things. You can also
use it to `scp` files down.
Prematurely sent that, meant to include this link:



Join { to automatically receive all group messages.