EasyEngine / EasyEngine/log-command

Syntax & Checklist

Offen
#2 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
2
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.