• 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
set maximum file size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set maximum file size


  • Subject: set maximum file size
  • From: 2551 <email@hidden>
  • Date: Wed, 08 Oct 2014 21:01:13 +0700

Hi folks

I have an app which needs to save some of its data into a log file. I have the method set up already for creating and appending the log file. However, I'd like to limit the file size and initiate a file turn over when it reaches a certain size. What is the best way to accomplish this?

I'm aware of Cocoa Lumberjack, but I really don't want to import an entire 3rd party framework for the sake of the one simple function that I need if I can avoid it.

Any thoughts much appreciated.


Best


P
_______________________________________________

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


  • Follow-Ups:
    • Re: set maximum file size
      • From: Alex Zavatone <email@hidden>
  • Prev by Date: Re: Responsive scrolling: prepareContentInRect: not called
  • Next by Date: Re: set maximum file size
  • Previous by thread: Re: Memory Warnings
  • Next by thread: Re: set maximum file size
  • Index(es):
    • Date
    • Thread