跳转到主要内容

添加launchd.plist日志

项目描述

安装

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

如何工作

~/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>

示例

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

readme42.com

项目详情


下载文件

下载适用于您的平台文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分发

launchd-add-logs-2020.12.3.tar.gz (1.7 kB 查看哈希值)

上传时间

由以下机构支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面