Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ASLExpireTime Format? [Solved, somewhat]



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.