# urbestack-service-log

First published 14 Oct 2026 (release 0.2.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-service-log --name DAEMON [--lines N]
```

## Description

Shows the last lines of output from journalctl -u for a daemon's systemd unit and from the daemon's own log if it is readable. --lines sets the number of lines to read from each source, from 1 to 500. The default is 50.

## Same in the API

- [GET /services/{name}/log](https://urbestack.com/docs/api/get-services-name-log.md): Get recent journal and log lines for a daemon

## Command family: service

- [urbestack-service-check](https://urbestack.com/docs/commands/urbestack-service-check.md): Runs one monitoring round for every watched daemon, or for a single daemon with --name.
- [urbestack-service-disable](https://urbestack.com/docs/commands/urbestack-service-disable.md): Stops a daemon and prevents it from starting at boot or after UrbeStack updates.
- [urbestack-service-list](https://urbestack.com/docs/commands/urbestack-service-list.md): Lists the daemons UrbeStack runs or relies on.
- [urbestack-service-restart](https://urbestack.com/docs/commands/urbestack-service-restart.md): Restarts a daemon and waits for it to pass its health check.
- [urbestack-service-set](https://urbestack.com/docs/commands/urbestack-service-set.md): Configures monitoring and startup at boot for a daemon.
- [urbestack-service-start](https://urbestack.com/docs/commands/urbestack-service-start.md): Starts a daemon and waits for it to pass its health check.
- [urbestack-service-stop](https://urbestack.com/docs/commands/urbestack-service-stop.md): Stops a daemon and records who stopped it.
