Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-1148

-Dswarm.logging=<level> broken, unable to set root log level

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 2017.3.2
    • 2017.3.3
    • None
    • None

    Description

      Using short style swarm.logging sysprop causes:

       java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      	at java.lang.String.substring(String.java:1931)
      	at org.wildfly.swarm.logging.LoggingFraction.applyDefaults(LoggingFraction.java:79)
      	at org.wildfly.swarm.logging.LoggingFraction.applyDefaults(LoggingFraction.java:68)
      	at org.wildfly.swarm.logging.LoggingFraction.applyDefaults(LoggingFraction.java:43)
      	at org.wildfly.swarm.container.runtime.cdi.configurable.ConfigurableFractionBean.<init>(ConfigurableFractionBean.java:33)
      	at org.wildfly.swarm.container.runtime.cdi.FractionProducingExtension.lambda$afterBeanDiscovery$1(FractionProducingExtension.java:99)
      

      Using a logger name (e.g. -Dswarm.logging.myLogger=INFO is fine, so just seems to be root logger.

      Attachments

        Activity

          People

            bmcwhirt@redhat.com Bob McWhirter (Inactive)
            dansiviter Daniel Siviter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: