aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-06-15 10:56:49 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-06-15 10:56:49 +0200
commited54ab5b3084d39287c6d14a75f9848bddd3550d (patch)
treecf39f0cdf88af22771feb2e8a24031a20adb69c0 /sonar-server
parent1063d63ad0fef20b898376d4465e4c88cc061c1b (diff)
downloadsonarqube-ed54ab5b3084d39287c6d14a75f9848bddd3550d.tar.gz
sonarqube-ed54ab5b3084d39287c6d14a75f9848bddd3550d.zip
Remove useless logs during server startup (minor)
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/lib/sonar_webservice_plugins.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/lib/sonar_webservice_plugins.rb b/sonar-server/src/main/webapp/WEB-INF/lib/sonar_webservice_plugins.rb
index 37509374437..900f1b982db 100644
--- a/sonar-server/src/main/webapp/WEB-INF/lib/sonar_webservice_plugins.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/lib/sonar_webservice_plugins.rb
@@ -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