CallMeTechie
DE Login
Home Products Blog About Contact

System Logs (/logs)

v1.0 · Updated 4 days ago

System Logs: /logs

/logs is a filterable, read-only log viewer for four sources. By default it reads the system logs of the last 24 hours and shows only error, warn, critical and fail lines.

Options

OptionEffect
--source=system|ssh|package|dockerchoose the source (default system)
--last=Nh|Ndtime window, e.g. --last=6h or --last=2d (default 24h)
--grep=PATTERNadditional regex filter
--all-levelsnot only errors/warnings, but all lines

Sources

  • system/var/log/messages + DSM synolog (requires group log or a sudoers entry)
  • ssh/var/log/auth.log or journalctl -u sshd as a fallback
  • package/var/log/synopkg.log
  • docker — logs of all running containers via /usr/local/bin/docker logs
/logs --source=ssh --last=12h --grep=Failed
/logs --source=docker --all-levels

Up to 1000 lines are read and the first 100 shown; if there are more, the command reports the number of truncated lines.

Cookie Settings

We use cookies to improve your experience. Essential cookies are always active.

Privacy Policy
ESC
↑↓ navigate open esc close