Skip to content
This repository was archived by the owner on Oct 8, 2020. It is now read-only.

Commit 7c50caa

Browse files
Disabled log messages.
1 parent aa66bd9 commit 7c50caa

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

sansa-inference-spark/src/main/scala/net/sansa_stack/inference/spark/utils/RDFSSchemaExtractor.scala

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@ class RDFSSchemaExtractor() extends Logging with Serializable {
3535
* @return the RDF graph containing only the schema triples
3636
*/
3737
def extract(graph: RDFGraph): RDFGraph = {
38-
log.info("Started schema extraction...")
3938

4039
val filteredTriples = graph.triples.filter(t => properties.contains(t.p))
4140

42-
log.info("Finished schema extraction.")
43-
44-
new RDFGraph(filteredTriples)
41+
RDFGraph(filteredTriples)
4542
}
4643

4744
/**
@@ -51,11 +48,11 @@ class RDFSSchemaExtractor() extends Logging with Serializable {
5148
* @return the schema triples
5249
*/
5350
def extract(triples: RDD[Triple]): RDD[Triple] = {
54-
log.info("Started schema extraction...")
51+
// log.info("Started schema extraction...")
5552

5653
val filteredTriples = triples.filter(t => properties.contains(t.p))
5754

58-
log.info("Finished schema extraction.")
55+
// log.info("Finished schema extraction.")
5956

6057
filteredTriples
6158
}

0 commit comments

Comments
 (0)