Permalink
Browse files

added debug logging to flushing aspect

  • Loading branch information...
1 parent 3021c3f commit 4249c3b766208a2b6c2c9725e74d1148687fad7d Rob Fletcher committed Apr 22, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/groovy/grails/plugin/springcache/aop/FlushingAspect.groovy
@@ -31,6 +31,7 @@ public class FlushingAspect {
@After("@annotation(cacheFlush)")
void flushCaches(final CacheFlush cacheFlush) {
+ if (log.isDebugEnabled()) log.debug "Flushing cache(s): ${cacheFlush.value().join(', ')}"
springcacheService.flush(cacheFlush.value())
}
}

0 comments on commit 4249c3b

Please sign in to comment.