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

Support custom java.util.logging formatters

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • winstone-jetty
    • None
    • Jenkins 2.289.2 jdk11 docker image

      In order to make Jenkins logs easier to ingest, we'd like to support using custom log formatters, such as the Elastic Common Schema (ECS) formatter (https://github.com/elastic/ecs-logging-java)

      As discussed in https://github.com/jenkinsci/docker/issues/1105, there's currently no support for this in Winstone, so we have to patch the `run.sh` script to use the `-cp` java option rather than using the `-jar` option, as they're mutually exclusive...

      I did try the `-extraLibFolder` arg as referenced in the above issue, but the formatter doesn't get picked up...

            Unassigned Unassigned
            fatmcgav Gavin Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: