EasyEngine / EasyEngine/log-command

Syntax & Checklist

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2
Forks
4
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.