Skip to content

Commit

Permalink
cleanup of log statements #3921
Browse files Browse the repository at this point in the history
  • Loading branch information
rbhatta99 committed Aug 18, 2017
1 parent 094fac8 commit 1e46be7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,10 @@ private void cacheExport(DatasetVersion version, String format, JsonObject datas
exporter.exportDataset(version, datasetAsJson, outputStream);
outputStream.flush();
outputStream.close();

System.out.println("Saving path as aux for temp file in: " + Paths.get(tempFile.getAbsolutePath()));

storageIO.savePathAsAux(Paths.get(tempFile.getAbsolutePath()), "export_" + format + ".cached");
boolean tempFileDeleted = tempFile.delete();
logger.info("tempFileDeleted: " + tempFileDeleted);
logger.fine("tempFileDeleted: " + tempFileDeleted);
}

} catch (IOException ioex) {
Expand Down

0 comments on commit 1e46be7

Please sign in to comment.