ASL: log as a circular buffer
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=RRHvwj5ETiJHEfMjz0eBuJvWTwR+8A/9pOThIvXYveM=; b=VwFT+8uYLh1KS5OG+Z38OD1itghdruKh3Y75zENAoJ9efvz+vC5QIucwB0jn2l+wYP bT8vFuTLMX3WuWOuvZMGn0LzxmYXkjWb/do0LqF9N0dOhM0T9sSh2satKxru8KxWvarc PlajU+HXh0+4K+edtSfvEo4Xi9orDpBbA851I= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=BvIVlAlPMUECfVWn1ArvgacWGKcobU1HB4jYDy7ioAuv+p/urFXYU5jtmHHX7A8mET iOusYePuS6EgaV2F3+fPDZFMzXnqV3wAxMfrNmFawcuQ2B1TZ4cEtMyWXZe712VwoucL cTprgH9etjZuv2BsitopWssORIk3A9oOE81Ss= 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Joel Reymont