Use debug logging if no translog file is found
This commit is contained in:
parent
a0414599a8
commit
8cd59151af
|
@ -1214,7 +1214,7 @@ public class InternalEngine extends Engine {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (FileNotFoundException ex) {
|
} catch (FileNotFoundException ex) {
|
||||||
logger.info("no translog file found for ID: " + translogId);
|
logger.debug("no translog file found for ID: " + translogId);
|
||||||
} catch (TruncatedTranslogException e) {
|
} catch (TruncatedTranslogException e) {
|
||||||
// file is empty or header has been half-written and should be ignored
|
// file is empty or header has been half-written and should be ignored
|
||||||
logger.trace("ignoring truncation exception, the translog is either empty or half-written", e);
|
logger.trace("ignoring truncation exception, the translog is either empty or half-written", e);
|
||||||
|
|
Loading…
Reference in New Issue