...
Code Block |
---|
sudo ls -lart /var/log/batm/ |
...
Archives
The master log grows very large quite quickly, so it’s archived every Sunday. Transactions or events that took place before Sunday can be located in the appropriate archive.
Explore the log directory:
Code Block |
---|
ls -ltr /var/log/batm/*.gz |
the “gz” archives are listed by time in reverse order.
Extract the selected archive using gunzip:
Code Block |
---|
gunzip -k /var/log/batm/gzip_archive |
replace “gzip_archive” with the actual archive filename.
the archive will be extracted to the log directory in the format:
master.log.yyyy-mm.dd
Search for the relevant data, for example, to find a specific transaction (using the RID):
Code Block |
---|