Introducing JamfLog for Sublime Text
Logs suck! Actually they’re great, what I really mean is they’re not the easiest to read and often most useful when the pressure is on.
JamfLog is a Sublime Text syntax highlighter for Jamf Pro server logs. It makes Jamf Logs easier for humans.
How to install Jamf Log
JamfLog is available via Sublime Text’s built-in App Store aka Package Control.
Video Instructions: 📺 Watch JamfLog for Sublime Text - Install Instructions and Usage on YouTube.
- If you have never used package control, in the menu go to Tools > Command Palette and search
Install Package Control
- Open the Tools > Command Palette and search
Package Control: Install Package
- Search for
JamfLog
and install the latest version. - Activate the default settings. Open the Tools > Command Palette and search
Preferences: JamfLog Settings
- The prefilled default settings file will open - SAVE THIS FILE - Done!
Usage Tips
Sublime Text’s Command Palette is your best friend - familiarise yourself with the keyboard shortcut:
- Mac:
Cmd+Shift+P
- Win:
Ctrl+Shift+P
Open a .log
file and use the Command Palette to:
Set Syntax: JamfLog
Word Wrap: Toggle
Code Folding: Fold/Unfold All
(hides all the stack traces)
How did this come about
Do you know when you look a little too deep into something and end up falling in? Well, that’s how this project started. I was looking at another Sublime Text log package and thought, I could edit this for Jamf Logs. Turns out I couldn’t, but I was too invested and decided to start from scratch. After a lot of trial and error, here we are.
Where to now? Sublime Text has a powerful Python-based API. I would be open to expanding this package to manipulate the log files and add commands (jump forward one hour?).
Feel free to get in touch if you would like help customising something or want to get involved.
If you encounter a problem with JamfLog, please submit an Issue on GitHub.