Mercurial Hosting > luan
changeset 1675:445048f9eca7
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 30 May 2022 17:50:54 -0600 |
parents | af18eacf187c |
children | daa4214fa91a |
files | src/goodjava/lucene/backup/BackupIndexWriter.java src/goodjava/lucene/backup/BackupServer.java |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
diff -r af18eacf187c -r 445048f9eca7 src/goodjava/lucene/backup/BackupIndexWriter.java --- 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); }
diff -r af18eacf187c -r 445048f9eca7 src/goodjava/lucene/backup/BackupServer.java --- a/src/goodjava/lucene/backup/BackupServer.java Sun May 29 23:38:34 2022 -0600 +++ b/src/goodjava/lucene/backup/BackupServer.java Mon May 30 17:50:54 2022 -0600 @@ -24,7 +24,7 @@ public final class BackupServer { private static final Logger logger = LoggerFactory.getLogger(BackupServer.class); - public static int port = 9101; + public static int port = 9102; public static String[] cipherSuites = new String[] { "TLS_DH_anon_WITH_AES_128_GCM_SHA256", "TLS_DH_anon_WITH_AES_128_CBC_SHA256",