Uploaded image for project: 'anaconda installer'
  1. anaconda installer
  2. INSTALLER-4169

Redirect log messages from WebUI to Journal

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • 25Q2, 25Q3
    • None
    • None
    • 25Q3 - July/10

      At the moment many important log messages, including possibly important error messages are only visible in the browser debug console and are not saved into any log file or redirected to Journal.

      This behavior is quite a departure from the existing TUI and GTK based GUI that both use the Anaconda log infrastructure & their log messages are all available in Journal.

      The current implementation of bug reporting in the Web UI is also affected - it can grab Journal contents just fine, but can't grab the WebUI log messages from the browser console.

      So we should fine a way how to redirect Web UI log messages (and if possible, ale log messages from our dependencies, such as Patternfly & Cockpit components) to the system Journal, either directly or possible via the Anaconda backend.

      NOTE: By redirect we mean the messages would still be visible in the Browser console, but a copy will go also to Journal.

      That way it should be possible to include WebUI log messages in the bug reports submitted by the WebUI and also correlate WebUI messages with messages coming from Anaconda backend components and other system services.

      The Cockpit project is currently looking into something similar, so we should definitely check out their progress on this and coordinate if it makes sense.

              kkoukiou Katerina Koukiou
              mkolman@redhat.com Martin Kolman
              Jan Stodola Jan Stodola
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: