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 PROTECTED]>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>

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

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to