• 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: Application Logging and Alarming (newbie question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Application Logging and Alarming (newbie question) (From: Michael Silva <email@hidden>)

  • Prev by Date: Re: updating a data file to a new version
  • Next by Date: Re: updating a data file to a new version
  • Previous by thread: Application Logging and Alarming (newbie question)
  • Next by thread: menu enabling with miniturized windows?
  • Index(es):
    • Date
    • Thread