Make startup log messages more compact

This commit is contained in:
j2blake 2013-10-03 11:53:08 -04:00
parent 2fe7c30ef0
commit bbae772a6a
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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");