]> git.proxmox.com Git - pve-installer.git/commit
tui: install_progress: write low-level non-JSON messages to separate file
authorChristoph Heiss <c.heiss@proxmox.com>
Mon, 26 Feb 2024 14:18:38 +0000 (15:18 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Feb 2024 15:43:42 +0000 (16:43 +0100)
commit22de6e5f9f1f429ec5fd59df607216b4d30f2145
treed58cab84b05557fd17204dad0035b0a428c2a81f
parente3beeecde346ed9f00b3aa0da3e9c6a197125166
tui: install_progress: write low-level non-JSON messages to separate file

The low-level installer prints quite a few messages during the install
to its stdout which are not JSON-formatted and thus parseable.

Thus catch them early and write them to `/tmp/install-low-level.log`, to
avoid polluting the log tty at /dev/tty2 with mostly useless parse
errors.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
proxmox-tui-installer/src/views/install_progress.rs