Mac HFS+ System.log Parser

While working on a recent Mac project, I wrote this script that parses the contents of an HFS+ ‘system.log’ file. The script will take in the provided log file and output an organized database file. Although the newer APFS file system now utilizes unified logging, I figured I would publish this very simple script in case anyone was working with older Macs. You can download it on my new github page at the bottom!

script

The script breaks the system.log file into four columns; Month, Time, Process, and Message. This database organization allows for easier entry filtering and itemization of log components when dealing with the possible tens-of-thousands of log entries.

https://github.com/BoncaldoJ/MacOS-HFS-Plus-System.log-Parser

Email me with any questions or issues you run into!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.

Up ↑

Create your website at WordPress.com
Get started
%d bloggers like this: