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

Log4j XmlConfigurator should be more robust

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: