Re: IOLog printing to system message buffer instead of /var/log/system.log?
Re: IOLog printing to system message buffer instead of /var/log/system.log?
- Subject: Re: IOLog printing to system message buffer instead of /var/log/system.log?
- From: Eric Gouriou <email@hidden>
- Date: Tue, 5 Jan 2010 17:53:56 -0800
On Jan 5, 2010, at 5:15 PM, Danny Mardini wrote:
> Hi everyone,
>
> I'm sure there must be a simple answer to this question, I sincerely apologize if I shouldn't be asking it here.
>
> I'm creating a IOKit driver which replaces the IOSCSIPeripheralType00 driver and everything seems to be going fine. My driver outmatches the generic driver and shows up in the IORegistry just fine.
>
> However when I use IOLog(...) I don't see my message in /var/log/system.log, instead I am seeing it in the system message buffer. I'm viewing it using "sudo dmesg". Am I missing something? All my references mentioned it should be outputted to /var/log/system.log.
Check /var/log/kernel.log . I believe this is where the dmesg content ends
up in 10.6 .
I hope this helps,
Eric
>
> For reference I'm using OS X 10.6 (i386) and XCode 3.2.1.
>
> Thanks in advance!
> -Daniel
> _______________________________________________
> 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
_______________________________________________
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