Replace system.out with a trace log.
This commit is contained in:
Timothy Bish 2016-03-03 17:00:11 -05:00
parent f3544f248f
commit be4ad3d1c8
1 changed files with 2 additions and 4 deletions

View File

@ -293,7 +293,6 @@ public class Journal {
}
private void doPreallocationKernelCopy(RecoverableRandomAccessFile file) {
// create a template file that will be used to pre-allocate the journal files
File templateFile = createJournalTemplateFile();
@ -314,11 +313,10 @@ public class Journal {
private File createJournalTemplateFile() {
String fileName = "db-log.template";
File rc = new File(directory, fileName);
File rc = new File(directory, fileName);
if (rc.exists()) {
System.out.println("deleting file because it already exists...");
LOG.trace("deleting journal template file because it already exists...");
rc.delete();
}
return rc;
}