Skip to content

Conversation

@maheshbhatiya73
Copy link
Member

Introduces the logs-domain CLI command to display access and error logs for a given domain. Supports Apache, Nginx, and Caddy (access logs only).

  • Accepts --domain and --lines (default: 100)
  • Uses tail to stream recent log entries
  • Handles missing or empty logs gracefully
  • Compatible with system paths for each supported server type

Example:
stackroost logs-domain --domain example.com --lines 50

Introduces the `logs-domain` CLI command to display access and error logs
for a given domain. Supports Apache, Nginx, and Caddy (access logs only).

- Accepts --domain and --lines (default: 100)
- Uses tail to stream recent log entries
- Handles missing or empty logs gracefully
- Compatible with system paths for each supported server type

Example:
  stackroost logs-domain --domain example.com --lines 50
@maheshbhatiya73 maheshbhatiya73 merged commit 380fce5 into main Jun 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants