Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Syntax & Checklist

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
cli

Hướng nghiên cứu

Issue không nêu tên tệp, bài kiểm thử hay entry point nào. Hãy bắt đầu bằng cách xác định cấu trúc lệnh CLI hiện có, sau đó so sánh hành vi của nó với từng cú pháp và tùy chọn được liệt kê; được xem là hoàn tất khi toàn bộ checklist hoạt động, bao gồm việc chọn log, số dòng, đường dẫn, phép hợp và các thông báo thông tin.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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=<line-count> => start with last number of . Default is 10. This is passed to tail command internally as tail -n <line-count>

Site Syntax

  • ee log show <sitename> => displays nginx + php + wp (if applicable) logs for a site
  • ee log show <sitename> --all => displays all local logs, including service logs
  • ee log show <sitename> --nginx => displays nginx logs for a site
  • ee log show <sitename> --php => displays php logs for a site
  • ee log show <sitename> --wp => displays wp dbeug log for a site
  • ee log show <sitename> --services => displays service logs only for a site
  • ee log show <sitename> --mysql => displays mysql logs for a site
  • ee log show <sitename> --redis => displays redis logs for a site
  • ee log show <sitename> --access => displays nginx & php access logs for a site
  • ee log show <sitename> --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=<service-name> => 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.
Ngôn ngữ chính
PHP
Star
2
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của EasyEngine/log-command

Tất cả issue của EasyEngine/log-command

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.