EasyEngine / EasyEngine/log-command

Syntax & Checklist

未关闭
#2 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
2
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

**Syntax**
- [ ] `ee log` => displays help and exit
- [ ] `ee log show --cli` => displays easyengine's own logs
- [ ] `ee log show --global` => displays all logs including all sites, all services and cli
- [ ] `ee log show --n=` => start with last number of . Default is 10. This is passed to `tail` command internally as `tail -n `

**Site Syntax**
- [ ] `ee log show ` => displays nginx + php + wp (if applicable) logs for a site
- [ ] `ee log show --all` => displays all local logs, including service logs
- [ ] `ee log show --nginx` => displays nginx logs for a site
- [ ] `ee log show --php` => displays php logs for a site
- [ ] `ee log show --wp` => displays wp dbeug log for a site
- [ ] `ee log show --services` => displays service logs **only** for a site
- [ ] `ee log show --mysql` => displays mysql logs for a site
- [ ] `ee log show --redis` => displays redis logs for a site
- [ ] `ee log show --access` => displays nginx & php access logs for a site
- [ ] `ee log show --error` => displays nginx & php error logs for a site

**Service Syntax**
- [ ] `ee log show --services` => displays service logs **only** for all global services
- [ ] `ee log show --services=` => displays service logs **only** for all global service whose name is specified

**Extra checklist**
- [ ] Service related flags will display an INFO message saying "example.com uses the global container for X so logs may have additional messages from other sites".
- [ ] Multiple logs flag can be specified e.g. `--nginx --php`. These will do UNION of all logs files associated with each flag.
- [ ] All `show` commands will have `ee log path` command which will display only log file path names rather than actual logs.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。