Writing to system.log from within a filesystem kext
Writing to system.log from within a filesystem kext
- Subject: Writing to system.log from within a filesystem kext
- From: Ron Aldrich <email@hidden>
- Date: Mon, 17 Oct 2005 15:01:02 -0700
Folks,
I'm having a bit of a problem writing debugging information to
system.log from with my filesystem kext.
I'm using printf to write to the system log, and it only works part
of the time.
Some of the printf statements work correctly, but others only display
the last character of the string which I'm attempting to print.
In older versions of the OS (10.3 and prior) I was using IOLog (and
IOSleep) to make sure the string made it to system.log properly, but
it doesn't appear that I can use IOLog any more because of the new
rules for declaring KPI dependancies.
Has anyone else run into this kind of problem?
Thanks,
Ron Aldrich
Software Architects, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden