Skip to main content
log prints an installation’s log: every message its operations wrote, oldest first. With --follow it keeps following while an operation runs.

Synopsis

What it does

It reads the log with list_log and prints one line per entry, with the date, since a log spans operations:
(The sample keeps the first and last message of each operation.) An entry whose level is not info carries the level before its message, as warning: . Times are local; the sample’s machine is on UTC. With --follow the command prints the whole log, then follows it each second while the installation is installing or uninstalling, and ends when the operation does; the last entries say how it ended. On an idle installation it ends after the history. It is the way to pick up an install or uninstall that gave up with INSTALLATION_FOLLOW_TIMEOUT.

Errors

Every code above, with its remediation, is in Error codes.

See also