• 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: Where does printf go?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where does printf go?


  • Subject: Re: Where does printf go?
  • From: Seth Willits <email@hidden>
  • Date: Tue, 28 Oct 2014 16:09:29 -0700

On Oct 28, 2014, at 12:22 PM, Jens Alfke <email@hidden> wrote:

>> stdout used to go to the system log as well, but it stopped doing so in .... Liiiiooonnn?? I think. The change made NSLog() useless for reporting errors if you ever want to see those errors in your users' logs to diagnose problems.
>
> NSLog has always written to stderr, not stdout. It also writes to ASL, so it should show up in logs. From the 10.10 API docs:

My mistake!


And about NSLog not showing up in the system log... apparently now it is? (10.9.5) There was a period where it *definitely* wasn't, and myself and several other devs were commiserating about the change, and yet now it definitely is again...


--
Seth Willits




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Where does printf go? (From: Jonathan Taylor <email@hidden>)
 >Re: Where does printf go? (From: Jens Alfke <email@hidden>)
 >Re: Where does printf go? (From: Seth Willits <email@hidden>)
 >Re: Where does printf go? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Where does printf go?
  • Next by Date: Re: Where does printf go?
  • Previous by thread: Re: Where does printf go?
  • Next by thread: Re: Where does printf go?
  • Index(es):
    • Date
    • Thread