Logging config and new spring version stuff.
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package ch.psi.daq.queryrest;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.autoconfigure.data.cassandra.CassandraDataAutoConfiguration;
|
||||
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||||
import org.springframework.boot.context.web.SpringBootServletInitializer;
|
||||
|
||||
@@ -10,6 +12,9 @@ import org.springframework.boot.context.web.SpringBootServletInitializer;
|
||||
* wires all the @RestController annotated classes.
|
||||
*/
|
||||
@SpringBootApplication
|
||||
@EnableAutoConfiguration(exclude={
|
||||
CassandraDataAutoConfiguration.class
|
||||
})
|
||||
public class QueryRestApplication extends SpringBootServletInitializer {
|
||||
|
||||
public static void main(final String[] args) {
|
||||
|
||||
@@ -5,6 +5,7 @@ appender reference in the root level section below.
|
||||
|
||||
<configuration scan="true">
|
||||
<jmxConfigurator />
|
||||
|
||||
<shutdownHook class="ch.qos.logback.core.hook.DelayingShutdownHook"/>
|
||||
|
||||
<!-- DEBUGLOG rolling file appender to debug.log (all levels) -->
|
||||
@@ -61,4 +62,4 @@ appender reference in the root level section below.
|
||||
<logger name="ch.psi.daq.query" level="DEBUG"/>
|
||||
<logger name="ch.psi.daq.cassandralocal" level="DEBUG"/>
|
||||
<logger name="ch.psi.daq.daqlocal" level="DEBUG"/>
|
||||
</configuration>
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user