public void raiseAlert(String msg, Object... args) { alertStatsLogger.raise(msg, args); }
} catch (IOException e) { if (e instanceof InvalidEnvelopedEntryException) { alertStatsLogger.raise("Invalid enveloped entry for segment {} : ", fullyQualifiedLogSegment, e); alertStatsLogger.raise("Invalid enveloped entry for segment {} : ", fullyQualifiedLogSegment, e); throw (InvalidEnvelopedEntryException) e; } else {
alertStatsLogger.raise("Unexpected last entry id during read ahead; {} , {}", currentMetadata, lastAddConfirmed); gapDetected = true; alertStatsLogger.raise("Unexpected condition during read ahead; {} , {}", currentMetadata, oldMetadata); setReadAheadError(tracker); if (currentMetadata.isTruncated()) { if (conf.getAlertWhenPositioningOnTruncated()) { alertStatsLogger.raise("Trying to position reader on the log segment that is marked truncated : {}", currentMetadata);
(l.getMinActiveDLSN().compareTo(nextReadDLSN) > 0)) { if (conf.getAlertWhenPositioningOnTruncated()) { alertStatsLogger.raise("Trying to position reader on {} when {} is marked partially truncated", nextReadAheadPosition, l); alertStatsLogger.raise("Trying to position reader on {} when {} is marked truncated", nextReadAheadPosition, l);
alertStatsLogger.raise("Found invalid enveloped entry on stream {} : ", streamName, ieee); setLastException(ieee); } catch (IOException exc) {
public void raiseAlert(String msg, Object... args) { alertStatsLogger.raise(msg, args); }
} catch (IOException e) { if (e instanceof InvalidEnvelopedEntryException) { alertStatsLogger.raise("Invalid enveloped entry for segment {} : ", fullyQualifiedLogSegment, e); alertStatsLogger.raise("Invalid enveloped entry for segment {} : ", fullyQualifiedLogSegment, e); throw (InvalidEnvelopedEntryException) e; } else {
&& segment.getMinActiveDLSN().compareTo(fromDLSN) > 0) { if (conf.getAlertWhenPositioningOnTruncated()) { alertStatsLogger.raise("Trying to position reader on {} when {} is marked partially truncated", fromDLSN, segment);