Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1075

Logback can't read project property resource running as a module in WildFly

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.1.3
    • logback-core
    • None
    • Wildfly without logmanager. Only logback

    Description

      After I replace the wildfly logmanager to logback as a module "property resource" can't read files from my project. It logs an error on startup
      03:16:44,495 |-ERROR in ch.qos.logback.core.joran.action.PropertyAction - Could not find resource [my-file.properties].

      logback.xml
      <property resource="my-file.properties"/>
      As I've seen, it should try to read from current thread classLoader(Loader.getTCL) not only getResourceBySelfClassLoader

      Attachments

        Activity

          People

            logback-dev Logback dev list
            janario Janario Oliveira
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: