EasyEngine / EasyEngine/log-command

Syntax & Checklist

オープン
#2 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。