Files
Pulse/scripts
rcourtman ef5f3bc187 Offer failure logs at install time, in the installers and the screen
The agent can report a failed container's last log lines since #4342,
but only through a flag or an environment variable on the agent itself.
Nobody installing from the copied command would find it, and the
installer rejected the flag as an unknown argument.

The shell installer now takes --enable-failure-logs and
--disable-failure-logs, and the PowerShell installer takes
-EnableFailureLogs or PULSE_ENABLE_FAILURE_LOGS. Each writes the flag
into the service arguments. An update or reinstall that names neither
keeps what the installed service has, so the choice survives agent
updates, and the disable flag is the way off: without it the recovered
service argument would turn the option back on.

The install screen gains "Send the last log lines of a failed
container" beside the copied commands, outside the advanced options and
unticked by default. Command access sat behind the advanced fold until
#1728 because people missed it there. Ticking it adds the flag, or the
PowerShell environment assignment, to every copied install command. It
mints no token and changes no scope, and it cannot reach an agent that
is already installed. The text says what leaves the host, that masking
can miss a secret, and how to turn it off.

It is still a local choice. Nothing here gives the server a way to turn
it on.
2026-11-13 15:28:39 +00:00
..
2025-10-11 23:29:47 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-11-11 21:38:44 +00:00
2025-10-22 10:46:18 +00:00
2026-03-18 16:06:30 +00:00