Make startup log messages more compact
This commit is contained in:
parent
2fe7c30ef0
commit
bbae772a6a
2 changed files with 2 additions and 2 deletions
|
@ -174,7 +174,7 @@ public class FileGraphSetup implements ServletContextListener {
|
|||
|
||||
if ( !model.isEmpty() ) {
|
||||
baseModel.addSubModel(model);
|
||||
log.info("Attached file graph as " + type + " submodel " + pathToURI(p, type));
|
||||
log.info("Attached file graph as " + type + " submodel " + p.getFileName());
|
||||
}
|
||||
|
||||
modelChanged = modelChanged | updateGraphInDB(dataset, model, type, p);
|
||||
|
|
|
@ -148,7 +148,7 @@ public class RDFFilesLoader {
|
|||
|
||||
private static void readOntologyFileIntoModel(Path p, Model model) {
|
||||
String format = getRdfFormat(p);
|
||||
log.info("Loading file at " + p + " as " + format);
|
||||
log.info("Loading "+ p);
|
||||
try (InputStream stream = new FileInputStream(p.toFile())) {
|
||||
model.read(stream, null, format);
|
||||
log.debug("...successful");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue