diff src/goodjava/lucene/backup/BackupIndexWriter.java @ 1675:445048f9eca7

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 30 May 2022 17:50:54 -0600
parents af18eacf187c
children 973d3039c421
line wrap: on
line diff
--- a/src/goodjava/lucene/backup/BackupIndexWriter.java	Sun May 29 23:38:34 2022 -0600
+++ b/src/goodjava/lucene/backup/BackupIndexWriter.java	Mon May 30 17:50:54 2022 -0600
@@ -159,6 +159,7 @@
 						long len = log.end() - 8;
 						InputStream in = log.input();
 						call = new RpcCall(in,len,"add",logInfo,fileName);
+						logger.info("add "+fileName);
 					} else if( status.equals("incomplete") ) {
 						String fileName = (String)result.returnValues[1];
 						long logEnd = (Long)result.returnValues[2];
@@ -167,6 +168,7 @@
 						InputStream in = log.input();
 						in.skip(logEnd-8);
 						call = new RpcCall(in,len,"append",logInfo,fileName);
+						// logger.info("append "+fileName);
 					} else
 						throw new RuntimeException("status "+status);
 				}