Re: ASLExpireTime Format? [Solved, somewhat]
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