ASL: log as a circular buffer
ASL: log as a circular buffer
- Subject: ASL: log as a circular buffer
- From: Joel Reymont <email@hidden>
- Date: Thu, 14 Oct 2010 07:35:12 +0800
Any suggestions then on how to read just the last N-thousand entries to avoid the log from growing indefinitely and filling up the disk? I add another descriptor now and redirect to a file but I have no way of controlling the growth of that.
This is intended for a production facility that runs non-stop. The user-space USB driver fails sometimes and I need to see why.
I used to just print to stdout but using the console app only gives me the last 4K messages from all sorts of applications. I'd rather have the last 100K messages from mine, for example, or have the log be a circular buffer of 1-2gb.
Thanks, Joel
---
http://twitter.com/wagerlabs
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden