Get your free beta license ↗
CMDCommand · run as root on the server · domain family

urbestack-domain-log

First published 3 Oct 20260.1.0Unchanged since publication

Usage

2 forms
# urbestack-domain-log --name DOMAIN --type access|error|php [--lines N] [--after BYTES]
# urbestack-domain-log --name DOMAIN --type access|error|php --whole

Description

From the command's --help output
Reads a domain's access, error or PHP error log. By default, returns the last 100 lines. --lines
sets the line limit, with a minimum of 1 and a maximum of 1000. The offset field gives the byte
position after the last complete line read.

Pass an earlier offset to --after to read up to the line limit from that byte position. If the
log is now shorter than that offset, the command returns the last lines and sets reset.

Use --whole to get the log as base64 for saving as a file. The size limit comes from the file
manager's files.upload_limit_mb setting. For a larger log, the command returns the newest
portion starting at a line boundary and sets cut.

UrbeStack reads per-domain logs through this command, including for API requests. The log
directories are owned by root and the customer.

Options

Find other commands that accept these options

Same in the API

These operations run the command.

More in domain

11 commands, by what they work onView all commands in this family →
urbestack-domain-
urbestack-domain-alias-
urbestack-domain-modsec-
urbestack-domain-redirect-
Generated from release 0.2.35 (current) · urbestack-domain-log --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-domain-log/