2019.4.13 • Published 7 years ago
launchd-add-logs v2019.4.13
add launchd.plist logs
Installation
$ [sudo] npm i -g launchd-add-logsHow 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-logs2019.4.13
7 years ago