2019.4.13 • Published 5 years ago
launchd-add-logs v2019.4.13
add launchd.plist logs
Installation
$ [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>
Scripts usage
command | usage |
---|---|
launchd-add-logs | usage: launchd-add-logs path ... |
Examples
$ find ~/Library/LaunchAgents -name "*.plist" -print0 | xargs -0 launchd-add-logs
2019.4.13
5 years ago