launchd-add-logs

add launchd.plist logs


Keywords
launchd, logs, cli
License
Unlicense
Install
pip install launchd-add-logs==2020.12.3

Documentation

Installation

$ [sudo] pip install launchd-add-logs
$ [sudo] npm i -g launchd-add-logs

How it works

~/Library/Logs/LaunchAgents/<Label>/out.log
~/Library/Logs/LaunchAgents/<Label>/err.log

<name>.plist

<key>StandardErrorPath</key>
<string>/Users/<username>/Library/Logs/LaunchAgents/<Label>/err.log</string>
<key>StandardOutPath</key>
<string>/Users/<username>/Library/Logs/LaunchAgents/<Label>/out.log</string>

Examples

$ find ~/Library/LaunchAgents -name "*.plist" -print0 | xargs -0 launchd-add-logs

readme42.com