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

Job DSL ability to specify level ALL and custom logLevel (Praqma case 14238)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • logging-plugin
    • None

      Using Job DSL, I would like to obtain this XML:

      <net.praqma.logging.LoggingTarget>
      <level>ALL</level>
      <name>net.praqma</name>
      <logLevel>-2147483648</logLevel>
      </net.praqma.logging.LoggingTarget>

      but run into 2 issues:

      1) target level 'ALL' does not seem to be supported
      2) target has no child element to specify logLevel. Instead, it seems to get a default value

      The workaround for now is to use the Job DSL configure block.

            praqma Praqma Support
            martinmosegaard Martin Mosegaard Amdisen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: