Re: Throttling App Logging

Daniel Jones

Thanks all.

Sadly the client has a regulatory requirement for *some* apps that all logs
must be persisted for a number of years, so we can't drop messages
indiscriminately using the loggregator buffer. They're a PCF customer, so
I'll raise a feature request through the support process.


On Mon, Sep 21, 2015 at 5:24 PM, Rohit Kumar <rokumar(a)> wrote:

It isn't possible to throttle logging output on a per application basis.
It is possible to configure the message_drain_buffer_size [1] to be lower
than the default value of 100, which will reduce the number of logs which
loggregator will buffer. If the producer is filling up logs too quickly,
loggregator will drop the messages present in its buffer. This
configuration will affect ALL the applications running on your Cloud
Foundry environment. You could play with that property and see if it helps.



On Mon, Sep 21, 2015 at 2:57 AM, Daniel Jones <
daniel.jones(a)> wrote:

Is it possible with the current logging infrastructure in CF to limit the
logging throughput of particular apps or spaces?

Current client is running CF multi-tenant, and has some particularly
noisy customers. It'd be nice to be able to put a hard limit on how much
they can pass through to downstream commercial log indexers.

Any suggestions most gratefully received!


Daniel Jones

Daniel Jones

Join to automatically receive all group messages.