• 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: Leave NSLog()s in Final Product?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leave NSLog()s in Final Product?


  • Subject: Re: Leave NSLog()s in Final Product?
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 12 Mar 2004 22:42:36 -0800

on 04/03/12 07:20, Piers Uso Walter at email@hidden wrote:

> They log to the system console logfile
> (/Library/Logs/Console/<username>/console.log), which can be viewed
> using /Applications/Utilities/Console.app.

Since 8 people say so, I believe this and agree to disable my NSLogs.

However, here is what I see in Panther:
in /Library/Logs/Console/<me>/Console.log:
Canon scanner garbage logs
in /var/log/system.log:
lots of system status reports
network connect/disconnect reports
note whenever NSTask in my app reads or writes the crontab

But the NSLogs in my app are never logged in either log. When installed in
a computer running Jaguar, the same app writes is NSLogs to
/var/tmp/console.log, as expected. And of course, I also get NSLogs in
Terminal when launching the app from Terminal.app.

Is there possibly some type of environment variable which must be set to
make NSLogs go to a Console window in Panther?

Jerry
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Leave NSLog()s in Final Product?
      • From: Jerry Krinock <email@hidden>
References: 
 >Re: Leave NSLog()s in Final Product? (From: Piers Uso Walter <email@hidden>)

  • Prev by Date: Re: OT: /tmp vanished!
  • Next by Date: Re: NSString really Unicode?
  • Previous by thread: Re: Leave NSLog()s in Final Product?
  • Next by thread: Re: Leave NSLog()s in Final Product?
  • Index(es):
    • Date
    • Thread