• 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: Debugging NSDistributedNotificationCenter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging NSDistributedNotificationCenter


  • Subject: Re: Debugging NSDistributedNotificationCenter
  • From: Chris Kane <email@hidden>
  • Date: Thu, 30 Oct 2008 20:38:56 -0700

As of Leopard, you need to do this:

sudo touch /var/log/do_dnserver_log
sudo touch /var/log/dnserver.log
sudo chown daemon /var/log/dnserver.log

as the daemon can't create that file itself in that location any longer.

But you can find the logs in the "system.log" in Console.app.


Chris Kane Cocoa Frameworks, Apple


On Oct 25, 2008, at 16:48, Jeff Johnson wrote:

I'm using NSDistributedNotificationCenter to deliver notifications from a helper application to the main application. I followed the instructions from <http://developer.apple.com/technotes/tn2004/tn2124.html#SECFILES >, i.e., sudo touch /var/log/do_dnserver_log and restart, but this doesn't seem to do anything. No file "/var/log/dnserver.log" ever gets created, and "/var/log/do_dnserver_log" remains empty. I tried creating "/var/log/dnserver.log" myself, but that doesn't help either.

Does distnoted debugging still work in Leopard? Or am I misunderstanding the relationship between this debugging facility and NSDistributedNotificationCenter?

-Jeff

_______________________________________________

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

_______________________________________________

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


References: 
 >Debugging NSDistributedNotificationCenter (From: Jeff Johnson <email@hidden>)

  • Prev by Date: Re: NSTableColumn unbindable when NSSegmentedCell is used?
  • Next by Date: List members in Victoria BC
  • Previous by thread: Debugging NSDistributedNotificationCenter
  • Next by thread: Sizing strangeness in the land of NSDrawer
  • Index(es):
    • Date
    • Thread