wro4j: Too verbose logging on missing resources

After update from 1.4.8.1 to 1.4.9 I'm getting this error:

01:21:47,606 DEBUG AbstractConfigurableSingleStrategy:39 - using strategy: 
ro.isdc.wro.model.resource.support.hash.SHA1HashStrategy@11bd5093
01:21:47,630 DEBUG AbstractDigesterHashStrategy:46 - SHA1HashStrategy hash: 
113c2548aedfd8cd3da6e21803b7c87cb1ada355
01:21:47,631 DEBUG ResourceWatcher:139 - Checking if resource 
/assets/third-party/aui/aui-skin-base/css/aui-skin-base.css is changed..
01:21:47,631 DEBUG ServletContextUriLocator:130 - locate resource: 
/assets/third-party/aui/aui-skin-base/css/aui-skin-base.css
01:21:47,632 DEBUG DispatcherStreamLocator:70 - dispatching request to 
location: /assets/third-party/aui/aui-skin-base/css/aui-skin-base.css
01:21:47,633 DEBUG AbstractConfigurableSingleStrategy:39 - using strategy: 
ro.isdc.wro.model.resource.support.hash.SHA1HashStrategy@16e7fc04
01:21:47,636 DEBUG AbstractDigesterHashStrategy:46 - SHA1HashStrategy hash: 
113c2548aedfd8cd3da6e21803b7c87cb1ada355
01:21:47,637 DEBUG ResourceWatcher:139 - Checking if resource 
/assets/third-party/aui/aui-skin-base/css/aui-skin-base.css is changed..
01:21:47,637 DEBUG ServletContextUriLocator:130 - locate resource: 
/assets/third-party/aui/aui-skin-base/css/aui-skin-base.css
01:21:47,638 DEBUG DispatcherStreamLocator:70 - dispatching request to 
location: /assets/third-party/aui/aui-skin-base/css/aui-skin-base.css
01:21:47,639 DEBUG AbstractConfigurableSingleStrategy:39 - using strategy: 
ro.isdc.wro.model.resource.support.hash.SHA1HashStrategy@dd87daa
01:21:47,642 DEBUG AbstractDigesterHashStrategy:46 - SHA1HashStrategy hash: 
cad733cd9b02f0d35d18cf4c49dcfe4ec78bb769
01:21:47,642 DEBUG ResourceWatcher:139 - Checking if resource 
/assets/third-party/aui/aui-skin-base/css/layout.css is changed..
01:21:47,643 DEBUG ServletContextUriLocator:130 - locate resource: 
/assets/third-party/aui/aui-skin-base/css/layout.css
01:21:47,644 DEBUG DispatcherStreamLocator:70 - dispatching request to 
location: /assets/third-party/aui/aui-skin-base/css/layout.css
01:21:47,644 DEBUG AbstractDigesterHashStrategy:46 - SHA1HashStrategy hash: 
cad733cd9b02f0d35d18cf4c49dcfe4ec78bb769
01:21:47,648 DEBUG ResourceWatcher:139 - Checking if resource 
/assets/third-party/aui/aui-skin-base/css/layout.css is changed..
01:21:47,649 DEBUG ServletContextUriLocator:130 - locate resource: 
/assets/third-party/aui/aui-skin-base/css/layout.css
01:21:47,649 DEBUG DispatcherStreamLocator:70 - dispatching request to 
location: /assets/third-party/aui/aui-skin-base/css/layout.css
01:21:47,650 DEBUG RedirectedStreamServletResponseWrapper:95 - Error detected 
with code: 404 and message: 
/dds/assets/third-party/aui/aui-skin-base/css/layout.css
01:21:47,644 DEBUG RedirectedStreamServletResponseWrapper:95 - Error detected 
with code: 404 and message: 
/dds/assets/third-party/aui/aui-skin-base/css/layout.css
01:21:47,690 DEBUG SchedulerHelper:98 - period: 0 [SECONDS]
01:21:47,690 DEBUG SchedulerHelper:98 - period: 0 [SECONDS]
01:21:47,698 DEBUG AbstractSynchronizedCacheStrategyDecorator:37 - Searching 
cache key: java.lang.String@1fd874e8[layout,CSS,true]
01:21:47,699 DEBUG DefaultSynchronizedCacheStrategyDecorator:153 - 
shouldWatchForChange
01:21:47,699 DEBUG DefaultSynchronizedCacheStrategyDecorator:131 - 
ResourceWatcher check key: java.lang.String@1fd874e8[layout,CSS,true]
01:21:47,699 DEBUG ResourceWatcher:61 - ResourceWatcher started...
01:21:47,700 DEBUG WroRuntimeException:30 - There is no such group: 'layout'. 
Available groups are: [jquery-query, aui, jquery-tools]
01:21:47,705 ERROR ResourceWatcher:75 - Exception while checking for resource 
changes
ro.isdc.wro.model.group.InvalidGroupNameException: There is no such group: 
'layout'. Available groups are: [jquery-query, aui, jquery-tools]
    at ro.isdc.wro.model.WroModel.getGroupByName(WroModel.java:116)
    at ro.isdc.wro.model.resource.support.ResourceWatcher.check(ResourceWatcher.java:65)
    at ro.isdc.wro.cache.DefaultSynchronizedCacheStrategyDecorator.onBeforeGet(DefaultSynchronizedCacheStrategyDecorator.java:132)
    at ro.isdc.wro.cache.DefaultSynchronizedCacheStrategyDecorator.onBeforeGet(DefaultSynchronizedCacheStrategyDecorator.java:32)
    at ro.isdc.wro.cache.AbstractSynchronizedCacheStrategyDecorator.get(AbstractSynchronizedCacheStrategyDecorator.java:40)
    at ro.isdc.wro.manager.ResourceBundleProcessor.serveProcessedBundle(ResourceBundleProcessor.java:74)
    at ro.isdc.wro.manager.WroManager.process(WroManager.java:126)
    at ro.isdc.wro.http.WroFilter.processRequest(WroFilter.java:331)
    at ro.isdc.wro.http.WroFilter.doFilter(WroFilter.java:267)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:548)
    at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:680)
01:21:47,708 DEBUG ResourceWatcher:78 - resource watcher info: StopWatch '': 
running time (millis) = 7


Note my ignoreMissingResources=true
so I assume this missed resource should be ignored.

Original issue reported on code.google.com by lystoc...@gmail.com on 26 Sep 2012 at 10:31

About this issue

  • Original URL
  • State: closed
  • Created 12 years ago
  • Comments: 16

Most upvoted comments