Re: asl_search
Re: asl_search
- Subject: Re: asl_search
- From: Steve Checkoway <email@hidden>
- Date: Thu, 2 Jul 2009 09:33:47 -0700
On Jul 2, 2009, at 8:31 AM, Santosh Sinha wrote:
But I don't know how to specify store action in my code or how to
use it. Can you help me with some syntax of how to write it in
separate log file.
Just a guess, but 15 seconds with the man page shows:
asl_add_log_file(asl, fd) adds the file descriptor fd to the a set
of file descriptors associated with the client handle asl. Each log
message sent by that client handle is also written to these file
descriptors. Returns 0 on success, non-zero on failure.
Seems about what you want.
--
Steve Checkoway
_______________________________________________
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
References: | |
| >asl_search (From: Santosh Sinha <email@hidden>) |