Skip to content

Commit

Permalink
Add logger config and exclude logback from shaclex
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
  • Loading branch information
berezovskyi committed Apr 9, 2022
1 parent ea2f116 commit 87fce6e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-runtime</artifactId>
</exclusion>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand Down
23 changes: 23 additions & 0 deletions validation/src/test/resources/simplelogger.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# https://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html
org.slf4j.simpleLogger.logFile = System.out
org.slf4j.simpleLogger.defaultLogLevel = INFO
org.slf4j.simpleLogger.levelInBrackets = false
org.slf4j.simpleLogger.showLogName = true
org.slf4j.simpleLogger.showShortLogName = true
org.slf4j.simpleLogger.showDateTime = true
org.slf4j.simpleLogger.dateTimeFormat = HH:mm:ss.SSS
org.slf4j.simpleLogger.showThreadName = false

org.slf4j.simpleLogger.log.org.eclipse.lyo = DEBUG
org.slf4j.simpleLogger.log.es.weso.shacl = INFO
org.slf4j.simpleLogger.log.org.eclipse.lyo.validation.impl = INFO

org.slf4j.simpleLogger.log.org.eclipse.lyo.oslc4j.provider.jena.ordfm.ResourcePackages = INFO
org.slf4j.simpleLogger.log.org.eclipse.lyo.oslc4j.provider.jena.JenaModelHelper = INFO
#org.slf4j.simpleLogger.log.org.eclipse.lyo.trs = TRACE

org.slf4j.simpleLogger.log.org.apache.jena = INFO
org.slf4j.simpleLogger.log.org.glassfish = INFO
org.slf4j.simpleLogger.log.org.jboss.weld = TRACE
org.slf4j.simpleLogger.log.org.apache.http = INFO
org.slf4j.simpleLogger.log.Jena = INFO

0 comments on commit 87fce6e

Please sign in to comment.