mirror of https://github.com/apache/lucene.git
SOLR-11618: Tone down verbosity of BackupManager logging
This commit is contained in:
parent
a03d6bc8c2
commit
1f83b1fc1c
|
@ -142,6 +142,8 @@ Other Changes
|
||||||
* SOLR-11606: Disable tests automatically if Mockito does not work with Java runtime (Java 10).
|
* SOLR-11606: Disable tests automatically if Mockito does not work with Java runtime (Java 10).
|
||||||
(Uwe Schindler)
|
(Uwe Schindler)
|
||||||
|
|
||||||
|
* SOLR-11618: Tone down verbosity of BackupManager logging (Varun Thacker)
|
||||||
|
|
||||||
================== 7.1.0 ==================
|
================== 7.1.0 ==================
|
||||||
|
|
||||||
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
|
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
|
||||||
|
|
|
@ -201,7 +201,7 @@ public class BackupManager {
|
||||||
for (String file : files) {
|
for (String file : files) {
|
||||||
List<String> children = zkClient.getChildren(zkPath + "/" + file, null, true);
|
List<String> children = zkClient.getChildren(zkPath + "/" + file, null, true);
|
||||||
if (children.size() == 0) {
|
if (children.size() == 0) {
|
||||||
log.info("Writing file {}", file);
|
log.debug("Writing file {}", file);
|
||||||
byte[] data = zkClient.getData(zkPath + "/" + file, null, null, true);
|
byte[] data = zkClient.getData(zkPath + "/" + file, null, null, true);
|
||||||
try (OutputStream os = repository.createOutput(repository.resolve(dir, file))) {
|
try (OutputStream os = repository.createOutput(repository.resolve(dir, file))) {
|
||||||
os.write(data);
|
os.write(data);
|
||||||
|
|
Loading…
Reference in New Issue