Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void time(Latency dto) {
try {
post(_timeTarget, dto);
} catch (Throwable t) {
_log.warn("Exception when posting metric" + dto, t);
_log.warn("Exception when posting metric " + dto, t);
}
;

Expand All @@ -61,7 +61,7 @@ public void count(Counter dto) {
try {
post(_counterTarget, dto);
} catch (Throwable t) {
_log.warn("Exception when posting metric" + dto, t);
_log.warn("Exception when posting metric " + dto, t);
}

}
Expand All @@ -85,9 +85,9 @@ private void post(URI uri, Object dto) {
}

} catch (Throwable t) {
_log.warn("Exception when posting metrics:" + t.getMessage());
_log.warn("Exception when posting metrics: " + t.getMessage());
if (_log.isDebugEnabled()) {
_log.debug("Reason:", t);
_log.debug("Reason: ", t);
}
} finally {
Utils.forceClose(response);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public SplitSynchronizationTask(SplitFetcher splitFetcher, SplitCache splitCache

public void startPeriodicFetching() {
if (_running.getAndSet(true)) {
_log.warn("Splits PeriodicFetching is running...");
_log.debug("Splits PeriodicFetching is running...");
return;
}

Expand All @@ -65,7 +65,7 @@ public void startPeriodicFetching() {

public void stop() {
if (!_running.getAndSet(false) || _scheduledFuture == null) {
_log.warn("Splits PeriodicFetching not running...");
_log.debug("Splits PeriodicFetching not running...");
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public SegmentFetcher getFetcher(String segmentName) {
@Override
public void startPeriodicFetching() {
if (_running.getAndSet(true)) {
_log.warn("Segments PeriodicFetching is running...");
_log.debug("Segments PeriodicFetching is running...");
return;
}

Expand All @@ -114,7 +114,7 @@ public void startPeriodicFetching() {
@Override
public void stop() {
if (!_running.getAndSet(false) || _scheduledFuture == null) {
_log.warn("Segments PeriodicFetching not running...");
_log.debug("Segments PeriodicFetching not running...");
return;
}

Expand Down