Fixed tests log

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@133698 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2016-10-28 09:06:33 +00:00
parent ea7b88d120
commit 0376c8ec97
2 changed files with 20 additions and 3 deletions

View File

@ -31,20 +31,20 @@ public class ResourceRegistryClientTest {
@Test
public void testQuery() throws InvalidQueryException{
String res = resourceRegistryClient.query("SELECT FROM V", 0, null);
logger.debug(res);
logger.info(res);
}
@Test
public void testgetFacetSchema() throws SchemaNotFoundException {
String res = resourceRegistryClient.getFacetSchema("ContactFacet");
logger.debug(res);
logger.info(res);
}
@Test
public void testgetResourceSchema() throws SchemaNotFoundException {
String res = resourceRegistryClient.getResourceSchema("HostingNode");
logger.debug(res);
logger.info(res);
}

View File

@ -0,0 +1,17 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{0}: %msg%n</pattern>
</encoder>
</appender>
<logger name="org.gcube" level="INFO" />
<logger name="org.gcube.informationsystem" level="INFO" />
<root level="WARN">
<appender-ref ref="STDOUT" />
</root>
</configuration>