EasyEngine / EasyEngine/log-command

Syntax & Checklist

Ouverte
#2 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
PHP
Étoiles
2
Forks
4
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.