• 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: ASLExpireTime Format? [Solved, somewhat]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ASLExpireTime Format? [Solved, somewhat]


  • Subject: Re: ASLExpireTime Format? [Solved, somewhat]
  • From: Karl Moskowski <email@hidden>
  • Date: Tue, 9 Dec 2008 09:39:48 -0500

So, I think I know why ASLExpireTime had no effect on the making messages persist in the main database.

It looks like syslogd has to be started with the -a flag to enable archiving. When I added the flag to the ProgramArguments section of / System/Library/LaunchDaemons/com.apple.syslogd.plist, the messages correctly expired and the database was archived daily. However, in a standard Mac OS X installation, the flag is omitted and archiving is disabled - old messages are purged from /var/log/asl.db weekly and the log database starts fresh.

I guess the only option is to use asl_add_log_file() and manage the log files manually.

----
Karl Moskowski <email@hidden>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Prev by Date: Re: Development workflows for signed code?
  • Next by Date: Re: Printing File to PDF from Native Application
  • Previous by thread: RE: Design patterns: MVC, MVP, Passive View... where is Apple heading???
  • Next by thread: How Can I Notify DrawRect Method?
  • Index(es):
    • Date
    • Thread