summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/dev/postgresql
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-09-06 14:08:06 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-09-06 14:08:06 +0000
commitaeadc1f9129274949daaa57738c7c4550bdfbc7b (patch)
tree08dadf5ef7474fc41d1d48f74648f1ba8b55f34d /sonar-server/src/dev/postgresql
downloadsonarqube-aeadc1f9129274949daaa57738c7c4550bdfbc7b.tar.gz
sonarqube-aeadc1f9129274949daaa57738c7c4550bdfbc7b.zip
SONAR-236 remove deprecated code from checkstyle plugin + display default value of rule parameters in Q profile console
Diffstat (limited to 'sonar-server/src/dev/postgresql')
-rw-r--r--sonar-server/src/dev/postgresql/conf/sonar.properties13
-rw-r--r--sonar-server/src/dev/postgresql/logback.xml49
2 files changed, 62 insertions, 0 deletions
diff --git a/sonar-server/src/dev/postgresql/conf/sonar.properties b/sonar-server/src/dev/postgresql/conf/sonar.properties
new file mode 100644
index 00000000000..2e6124a2f0f
--- /dev/null
+++ b/sonar-server/src/dev/postgresql/conf/sonar.properties
@@ -0,0 +1,13 @@
+# Postgresql
+sonar.jdbc.url: jdbc:postgresql://localhost/sonar
+sonar.jdbc.driverClassName: org.postgresql.Driver
+sonar.jdbc.username: sonar
+sonar.jdbc.password: sonar
+sonar.jdbc.maxActive: 30
+sonar.jdbc.maxIdle: 10
+sonar.jdbc.minIdle: 2
+sonar.jdbc.maxWait: 5000
+sonar.jdbc.minEvictableIdleTimeMillis: 600000
+sonar.jdbc.timeBetweenEvictionRunsMillis: 30000
+
+sonar.runtime.mode: development \ No newline at end of file
diff --git a/sonar-server/src/dev/postgresql/logback.xml b/sonar-server/src/dev/postgresql/logback.xml
new file mode 100644
index 00000000000..d4306092164
--- /dev/null
+++ b/sonar-server/src/dev/postgresql/logback.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<configuration>
+
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <pattern>
+ %d{HH:mm:ss.SSS} %-5level %logger{15} %X - %msg%n
+ </pattern>
+ </layout>
+ </appender>
+
+ <logger name="org.hibernate.SQL">
+ <level value="ERROR"/>
+ </logger>
+
+ <logger name="org.hibernate.cache.ReadWriteCache">
+ <!-- removing "An item was expired by the cache while it was locked (increase your cache timeout)" msg -->
+ <level value="ERROR"/>
+ </logger>
+
+ <logger name="org.hibernate.cache.EhCacheProvider">
+ <!-- removing "org.hibernate.cache.EhCacheProvider - Could not find configuratio)" message -->
+ <level value="ERROR"/>
+ </logger>
+
+ <logger name="org.sonar.DBSTATISTICS">
+ <level value="INFO"/>
+ </logger>
+
+ <logger name="org.sonar.INFO">
+ <level value="INFO"/>
+ </logger>
+
+ <logger name="net.sf.ehcache">
+ <level value="INFO"/>
+ </logger>
+
+
+ <logger name="rails.sonar">
+ <level value="INFO"/>
+ </logger>
+
+ <root>
+ <level value="INFO"/>
+ <appender-ref ref="STDOUT"/>
+ </root>
+
+</configuration>