geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r503956 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/TemplateEngine.groovy
Date Tue, 06 Feb 2007 02:02:22 GMT
Author: jdillon
Date: Mon Feb  5 18:02:21 2007
New Revision: 503956

URL: http://svn.apache.org/viewvc?view=rev&rev=503956
Log:
Minor logging changes

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/TemplateEngine.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/TemplateEngine.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/TemplateEngine.groovy?view=diff&rev=503956&r1=503955&r2=503956
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/TemplateEngine.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/TemplateEngine.groovy
Mon Feb  5 18:02:21 2007
@@ -48,6 +48,9 @@
         }
         
         baseurl = getClass().classLoader.getResource(basepath)
+        
+        log.debug "Using base URL: $baseurl"
+        
         assert baseurl
     }
     
@@ -57,13 +60,13 @@
         def tmpl = cache[name]
         if (!tmpl) {
             def url = new URL(baseurl, name)
-            log.info "Creating new template: $name, from: $url"
+            log.debug "Creating new template: $name, from: $url"
             
             tmpl = engine.createTemplate(url)
             cache[name] = tmpl
         }
         else {
-            log.info "Using cached template: $name"
+            log.debug "Using cached template: $name"
         }
         
         return new Template(name, tmpl)



Mime
View raw message