]> source.dussan.org Git - sonarqube.git/commitdiff
Remove useless logs during server startup (minor)
authorSimon Brandhof <simon.brandhof@gmail.com>
Wed, 15 Jun 2011 08:56:49 +0000 (10:56 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Wed, 15 Jun 2011 08:56:49 +0000 (10:56 +0200)
sonar-server/src/main/webapp/WEB-INF/lib/sonar_webservice_plugins.rb

index 375093744376698f2d1865311dadf12aff5ec2e1..900f1b982db73e8f65ab43702b3e058927bbd73c 100644 (file)
@@ -23,13 +23,12 @@ module ActionController
     class RouteSet
       def load_sonar_plugins_routes
         logger=Slf4jLogger.new('org.sonar.INFO')
-        logger.info("Loading web services...")
         web_service_plugins = Java::OrgSonarServerUi::JRubyFacade.new.getRubyRailsWebservices()
         web_service_plugins.each do |plugin|
-          logger.info("Loading webservice #{plugin.getId()}")
+          logger.info("Loading webservice /api/plugins/#{plugin.getId()}")
           eval(plugin.getTemplate())
           route = add_route("api/plugins/#{plugin.getId()}/:action/:id", {:controller => "api/#{plugin.getId()}", :requirements => { :id => /.*/ }})
-          logger.info("Loaded webservice #{plugin.getId()} => #{route}")
+          logger.debug("Loaded webservice #{plugin.getId()} => #{route}")
         end
       end
     end