• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: asl_search
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: asl_search
  • Next by Date: Re: asl_search
  • Previous by thread: asl_search
  • Next by thread: Re: asl_search
  • Index(es):
    • Date
    • Thread