Re: Application Logging and Alarming (newbie question)
Re: Application Logging and Alarming (newbie question)
- Subject: Re: Application Logging and Alarming (newbie question)
- From: Robert Cerny <email@hidden>
- Date: Mon, 26 Sep 2005 20:13:22 +0200
Michael,
you can use NSLog to output strings into console log or if in
debugger, the output goes to the debugger window. If you want to
handle your own logs, it's your responsibility to manage all details.
There are some NSLog replacements (coming from Java world - check the
archives).
Basically, I'm not a friend of reinventing wheel, so I would use
logger, rotatelogs etc. commands, but they can be an overhaul in many
cases.
HTH
R.
On 13.9.2005, at 22:01, Michael Silva wrote:
In Cocoa, what are the preferred methods for storing logs and
optionally generating alarm conditions based on logged events? Is
it just the usual UNIX logging, or is there something else?
I would like to:
- store application logs
- search logs
- rotate log files (i.e. do not fill up the disk)
- parse application logs and identify certain ones as 'alarms' that
may require user intervention (i.e. send email, etc.).
Thanks,
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden