• 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
Screensaver on multiple monitors, asl_log mystery solved, I think ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Screensaver on multiple monitors, asl_log mystery solved, I think ...


  • Subject: Screensaver on multiple monitors, asl_log mystery solved, I think ...
  • From: Gabriel Zachmann <email@hidden>
  • Date: Thu, 10 Feb 2011 18:53:51 +0100

Well, regarding the asl_log mystery, I suppose I should have read the man page more carefully ... (shame on me)

I think, the solution is just that I need to create a client handle *per thread*, like this:

log_client_ = asl_open( "MyApp", NULL, ASL_OPT_NO_DELAY);
...
asl_log( log_client_, log_msg_, ASL_LEVEL_NOTICE, "%s", [msg UTF8String] );


Sorry about that!
Best regards,
Gabriel.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: [iOS] Strange behavior of NSFetchedResultsController
  • Next by Date: Re: [iOS] Strange behavior of NSFetchedResultsController
  • Previous by thread: Screensaver on multiple monitors
  • Next by thread: Strange problem drawing a custom grid in NSTableView
  • Index(es):
    • Date
    • Thread