‘journald’ for MacOS LaunchAgents
While the entire systemd
project has historically been rather polarizing, I have found it to be easier to maintain for my own environments.
When working on services on windows
or MacOS
, I have come to miss having journald when running services.
MacOS launchd services let you StandardOutPath and StandardErrorPath, each application can set them to whatever path they want.
While applications can directly use MacOS unified logging, I wanted to prototype an idea of launchd handling directing files.
Since I can not (easily) modify launchd, I decided to write a redirect-output helper, to prototype how this might look.