Skip to content
SHC Docs

shc logs

view application and service logs

Reference for the logs CLI group. Source: modules/logs/commands/.

This is a single-action command (no subcommands).

FlagTypeRequiredHelp
-s / --stackstrnostack name
-e / --environmentstrnoenvironment name
-f / --followboolnofollow log output
--sincestrnoshow logs since
-n / --tailstrnonumber of lines to show from end
-t / --timestampsboolnoshow timestamps
--allboolnoshow logs for all stacks in tenant
--no-colorboolnodisable ANSI colors

An incus console keeps no time for a line, so each incus node stamps its replicas’ consoles as liblxc writes them, and --since and --timestamps read those stamps. A line’s time is the moment the node read it: as the write lands, or within ten seconds on a node that can’t watch the console files. Lines a console held before the node first read it have no time: --timestamps prints them without one, and no --since window holds them. Without --since or --timestamps, shc logs reads the whole console, as it always did.