Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15507

Log4j XmlConfigurator should be more robust

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 14.0.23.Final, 15.0.0.Final
    • None
    • None
    • None

      The log4j2 XmlConfiguration currently only handles file configurations. It should support other types

      Caused by: java.lang.NullPointerException: Cannot invoke "java.io.File.toPath()" because "configFile" is null
      16:46:05  [WARNING] 	at org.infinispan.commons.logging.log4j.XmlConfiguration.setup(XmlConfiguration.java:90)
      16:46:05  [WARNING] 	at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:262)
      16:46:05  [WARNING] 	at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:313)

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: