My team is in the process of evaluating elasticsearch / kibana as a CF
app log analysis option - follow
https://github.com/cityindex/elasticsearch-development-flow if you're
On 5 June 2013 05:22, James Bayer wrote:
App instance logging is unfortunately ephemeral at the moment
out-of-the-box. For apps that crash, we do temporarily store crashlogs for
debugging purposes.

By extending an existing buildpack or building your own, you could also
launch a log forwarding process during the app start sequence.

We do have aggregated application logging on the roadmap and I hope to share
our design ideas soon.

On Tuesday, June 4, 2013 10:30:59 AM UTC-7, cbus...@voxeolabs.com wrote:

Hi James,

thanks a lot! This is for the components of CF, but how about logs for
pushed application instances?

My questions were really in context of applications that have been pushed.
A pushed application might result in e.g. 5 application instances that will
run for a long time (aka, days, months) and log management is of concern
there too.

Do you have any links for log management in context of pushed

Thanks a lot,


On Tuesday, June 4, 2013 10:14:26 AM UTC-7, James Bayer wrote:

I added a story for log rotation documentation:
On Tuesday, June 4, 2013 10:12:53 AM UTC-7, James Bayer wrote:


For systems that are BOSH deployed, we do have log rotation policies
using logrotate in each job. Look in the cf-release/jobs/JOBNAME/templates
folder. For example, here are the gorouter logging configuration files:

Additionally BOSH deployments will send important logs to aggregate to a
centralized syslog server when the syslog_aggregator job is deployed.


More logging detail is here:

You can fork/fix the docs and open issues for additional documentation.
The log rotation for example, is an area not documented well.

We also have a public documentation tracker.


On Monday, June 3, 2013 10:52:48 AM UTC-7, cbus...@voxeolabs.com wrote:


I have a few questions in context of log file:

(1) Log file retention periods:
- crashlogs are by default around for 1 hour in V1 and that can be
configured in the DEA I learned.
- What about application log files?

(2) Log file rotation
- Is there any application log file rotation taking place that can be
configured (like when rotation should happen)? I have long running
applications and log file size is of concern.

(3) Log file size limitations
- Do log files have size limitations?
- Is it possible to set an upper limit and cause rotation this way?

(4) Cleanup/removal
- Are log files cleaned up automatically (e.g., age, periods) or would
I have to implement this myself?



David Laing
Trading API @ City Index
Twitter: @davidlaing

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 7 | next ›
Discussion Overview
groupvcap-dev @
postedJun 3, '13 at 5:52p
activeJul 23, '13 at 2:34p



site design / logo © 2021 Grokbase