launchd-add-logs
v2019.4.13
Published
add launchd.plist logs
Downloads
5
Readme
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-logs