Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing IOLog



At 1:34 PM -0500 3/11/02, Stephane Parent wrote:
Hi,

Debugging a lot of code and need to log information instead of tracing the code.
Ran into a problem where not all my log are output into the /var/log/system.log .
We probably output too much for the IOLog pool to keep up.

This is a well known problem. I have run into this so many times that my blood pressure is now critical (from screaming and cursing at the machine). :) Apparently kernel logging is throttled for a reason. All I have ever heard from Apple is that it is throttled for a "very good reason" but no one ever says what that reason is.

It's almost impossible to track down problems with printf in the kernel because logs are lost so many times. The only way to reliably track problems is to get into the debugger, but then if you are debugging network communications, you have just stopped the kernel and the other end resends a bunch of packets and finally closes the connection.

Any way we could increase the IOLog pool or else?

Any other way we could manage to do this maybe?

I'm almost to the point of breaking down and writing a custom log pool for my own use. I don't know what else to do.

--
Brian Bergstrand
<http://www.classicalguitar.net/brian/> PGP Key ID: 0xB6C7B6A2
Just because your voice reaches halfway around the world doesn't mean you are wiser than when it reached only to the end of the bar. - Edward R. Murrow
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.
References: 
 >missing IOLog (From: Stephane Parent <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.