Re: Re: NSLog / Console / Console Messages
Re: Re: NSLog / Console / Console Messages
- Subject: Re: Re: NSLog / Console / Console Messages
- From: email@hidden
- Date: Thu, 02 Jul 2009 04:36:17 +0000
It is always better to create seperate log file programmatically & write
the log statements in that file. In this way, you can customize the log
file the way you want. Only remember to set file extension as ".log". Bcoz
of this, your log file will always be opened by Console application by
default.
Regards,
Parag
On Jul 2, 2009 9:33am, Robert Martin <email@hidden> wrote:
May not be relevant, but if you have an NSTask that fires a shell script
using /bin/sh, NSLog will no longer work. (This is solved by using
/bin/tcsh).
Rob
On Jul 1, 2009, at 4:38 PM, Dimitri Bouniol wrote:
Another way to get the logs messages would be to open your app using
Terminal. To do so, navigate to
Application.app/Contents/MacOS/Application and open that file in a
terminal window - all log output should appear there. I hope this works
out :)
On Jul 1, 2009, at 11:35 AM, David Blanton wrote:
Yeah. I just found via Google that this is problematic to 10.5.7
system.log does show everything, the issue is with the console log
database apparently
I have experienced this on two different machines (customers) running
10.5.7
On Jul 1, 2009, at 12:08 PM, Bryan Henry wrote:
NSLog messages definitely show in the console logs, and it's pretty much
impossible that someone has no system log messages since March. Are you
sure your customer is looking at the right logs in Console?
- Bryan
Sent from my iPhone
On Jul 1, 2009, at 1:02 PM, David Blanton email@hidden> wrote:
I am trying to debug a problem with a customer.
I made a build with NSLog messages to trace behavior.
I have the customer open Console and choose Console Messages.
The last message if from march, my messages do not show ???
What is it that I am not aware of re:NSLog
Thanks.
_______________________________________________
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