Re: Leave NSLog()s in Final Product?
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.