Reading ASL store with syslog further bac…
Imported from the Apple Support Forums via the Wayback Machine 🔗
I have been unable to change the time-to-live value for storage of logs in /var/log/asl/. I am accessing the logs with *syslog | grep backupd* and the entries only go back 2 days. If I use *syslog | grep kernel* for example the entries do go back much further than 2 days. I realize that the backupd entries are <notice> level so they are being discarded once the TTL is up, while the kernel entries are being archived. I would like to find a way to either archive all entries for 7 days instead of 2, or even better archive all entries from a specific process or notification level.
*syslog -d "store" | grep backupd* gives the same result also.
I have tried the command *aslmanager -ttl 7* which I assumed would change the TTL to 7 days for all entries, but /var/log/asl/ continues to only contain entries for the current day plus the 2 previous days.
I have also tried to approach this problem by using syslog to read directly from the archive file, but I don't have an archive file on my system. The man page for aslmanager claims the archive directory is /var/log/asl.archive but that does not exist on my machine (10.5.8 PPC). The command *syslog -d "archive" | grep backupd* confirms this with the error: +/var/log/asl.archive: No such file or directory+, although *syslog | grep kernel* seems to be reading the archive without me even specifying it. I can even use *syslog | grep kernel | head -n 1* and I get an entry from Jan 2 of this year.
This is what is in my /var/log/asl
2009.10.10.U0.G80.asl
2009.10.10.U0.asl
2009.10.10.U501.asl
2009.10.10.U92.asl
2009.10.10.asl
2009.10.11.U501.asl
2009.10.11.asl
2009.10.12.U0.G80.asl
2009.10.12.U0.asl
2009.10.12.U501.asl
2009.10.12.U92.asl
2009.10.12.asl
LongTTL.U0.asl
LongTTL.asl
StoreData
I also have a file at /var/log/asl.db
I'd appreciate any insight on this!
16 replies
Sign in or join Beachball Help to reply.
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0