Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-29156

Too many warnings in log: "Cannot find web resource module for: …"

      Since the fix for CONF-28107, more warnings are appearing in the log.

      As these warnings are harmless, it would be good if we could somehow change the web-resource code to display these warnings in dev-mode only.

            [CONFSERVER-29156] Too many warnings in log: "Cannot find web resource module for: …"

            According to https://confluence-bamboo.internal.atlassian.com/chain/admin/config/editChainRepository.action?buildKey=COD-INSTALLER ,

            AdrienA (Inactive) added a comment - According to https://confluence-bamboo.internal.atlassian.com/chain/admin/config/editChainRepository.action?buildKey=COD-INSTALLER , We use Distribution's trunk to deliver the installer, so my change will go in by default in 5.2-OD-3. I've merged into https://svn.atlassian.com/svn/private/atlassian/confluence/distribution/branches/confluence_5_1_stable too, so 5.1.5, if exists, will have it.

            Option 1 - Update the distribution to change the default log4j file

            The default logging level is WARN, I would set it to ERROR for this class: com.atlassian.plugin.webresource.DefaultResourceDependencyResolver.

            Option 2 - Update the plugin framework

            We would log the error only if atlassain.dev.mode=true.

            I assume the most consensual will be option 1.

            AdrienA (Inactive) added a comment - Option 1 - Update the distribution to change the default log4j file The default logging level is WARN, I would set it to ERROR for this class: com.atlassian.plugin.webresource.DefaultResourceDependencyResolver. Option 2 - Update the plugin framework We would log the error only if atlassain.dev.mode=true. It's not given other products would agree. Confluence uses the plugins framework 3.0.0-m34 and 3.0.0-m13 for web-resources. The project is located at https://bitbucket.org/atlassian/atlassian-plugins-webresource There are 113 commits between 3.0.0-m13 and master. I assume the most consensual will be option 1.

              aragot AdrienA (Inactive)
              etom edith (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: