brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aled Sage <>
Subject Re: Persistence store logging
Date Thu, 11 Jun 2015 13:17:21 GMT

If we want to get fancy, we could keep a count and log that every 100 
writes or some such (but not convinced it's worth that).

Longer term, a better design would be for the persister code (that you 
referenced) to keep counts for add/update/delete, time spent persisting, 
A logger thread can then query for the stats, and include that in a 
periodic report.

Currently, there is a message written once per minute by 
`BrooklynGarbageCollector.gcIteration`, which includes some metrics.
We could generalise that further, perhaps.


On 11/06/2015 08:13, Martin Harris wrote:
> For clarity, I'm suggesting we change the code to use LOG.trace(xxx)
> instead of LOG.debug(xxx) here[1] <> and here[2]
> <>
> [1]:
> [2]:
> Cheers
> M
> On 11 June 2015 at 10:45, Martin Harris <>
> wrote:
>> Hi Folks,
>> Any consensus on switching the log level
>> for ManagementPlaneSyncRecordPersisterToObjectStore
>> and PeriodicDeltaChangeListener from DEBUG to TRACE? The checkpointing
>> messages from these classes account for around a full third of all log
>> messages, which seems a bit excessive. It's fine if you're greping, or
>> searching for something specific, but a `tail -f` is just swamped with
>> checkpoint messages
>> Cheers
>> --
>> Martin Harris
>> Lead Software Engineer
>> Cloudsoft Corporation Ltd
>> Mobile: +44 (0)7989 047-855

Cloudsoft Corporation Limited, Registered in Scotland No: SC349230. 
 Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP
This e-mail message is confidential and for use by the addressee only. If 
the message is received by anyone other than the addressee, please return 
the message to the sender by replying to it and then delete the message 
from your computer. Internet e-mails are not necessarily secure. Cloudsoft 
Corporation Limited does not accept responsibility for changes made to this 
message after it was sent.

Whilst all reasonable care has been taken to avoid the transmission of 
viruses, it is the responsibility of the recipient to ensure that the 
onward transmission, opening or use of this message and any attachments 
will not adversely affect its systems or data. No responsibility is 
accepted by Cloudsoft Corporation Limited in this regard and the recipient 
should carry out such virus and other checks as it considers appropriate.

View raw message