Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-73817

Add a Configuration Parameter to Control Log Output Format (Text vs. HTML)

XMLWordPrintable

      Currently, our logging system does not provide a direct way to switch between pure text and HTML-formatted log outputs. This limitation can be restrictive in scenarios where logs need to be rendered directly in web interfaces or where specific formatting requirements (e.g., for highlighting, linking, or styling) are desired.

      To enhance the flexibility and usability of our logging capabilities, I propose the addition of a new configuration parameter that would allow users to specify the desired output format for logs. This parameter could be easily integrated into our existing logging framework, allowing for seamless transitions between text and HTML modes as needed.

       

      For example:

      http://

      {ip_host}

      /job/{optionalFolderPath}/job/{job_name}/{build_number}/execution/node/{nodeId}/wfapi/log?text=true

            Unassigned Unassigned
            thomson_519 kun303-cloud
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: