From: Fabrice Bellingard Date: Mon, 16 Jul 2012 12:05:59 +0000 (+0200) Subject: Improve logging for DEV mode (based on modifications for SONAR-3590) X-Git-Tag: 3.2~62 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1f2e532e7b15abe99f30e3c08ee280f77bf7ca24;p=sonarqube.git Improve logging for DEV mode (based on modifications for SONAR-3590) --- diff --git a/sonar-server/src/dev/h2/conf/logback.xml b/sonar-server/src/dev/h2/conf/logback.xml index e17be7b8999..6548deb530e 100644 --- a/sonar-server/src/dev/h2/conf/logback.xml +++ b/sonar-server/src/dev/h2/conf/logback.xml @@ -10,30 +10,29 @@ - + - + - + - + - + - - - + + diff --git a/sonar-server/src/dev/mysql/conf/logback.xml b/sonar-server/src/dev/mysql/conf/logback.xml index 5cd45f7ce52..6548deb530e 100644 --- a/sonar-server/src/dev/mysql/conf/logback.xml +++ b/sonar-server/src/dev/mysql/conf/logback.xml @@ -1,5 +1,4 @@ - @@ -11,30 +10,29 @@ - + - + - + - + - + - - - + + diff --git a/sonar-server/src/dev/postgresql/conf/logback.xml b/sonar-server/src/dev/postgresql/conf/logback.xml index b7f6068559c..6548deb530e 100644 --- a/sonar-server/src/dev/postgresql/conf/logback.xml +++ b/sonar-server/src/dev/postgresql/conf/logback.xml @@ -31,8 +31,8 @@ - - + + diff --git a/sonar-server/src/main/webapp/WEB-INF/config/environments/development.rb b/sonar-server/src/main/webapp/WEB-INF/config/environments/development.rb index 48c895e5cca..08f7bfd140c 100644 --- a/sonar-server/src/main/webapp/WEB-INF/config/environments/development.rb +++ b/sonar-server/src/main/webapp/WEB-INF/config/environments/development.rb @@ -11,4 +11,7 @@ config.whiny_nils = true # Show full error reports and disable caching config.action_controller.consider_all_requests_local = true config.action_view.debug_rjs = true -config.action_controller.perform_caching = false \ No newline at end of file +config.action_controller.perform_caching = false + +config.logger = Slf4jLogger.new +ActiveRecord::Base.logger = config.logger \ No newline at end of file