Skip to content

Commit

Permalink
#99 fixes on 3.2 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
eswdd committed Jun 5, 2015
1 parent 6c5057c commit 13f0ad4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,14 @@ public void applyDelta(IoSession session, HeapDelta payload) {
// if we've got no record then we can't continue, and we can't really throw an exception, so just warn and ignore..
if (heaps == null) {
nioLogger.log(NioLogger.LoggingLevel.TRANSPORT, session, "Have no heaps registered for this client, address = %s", session.getRemoteAddress().toString());
LOGGER.warn("Received a connected object update, yet have no record of any subscriptions. {address={},heapId={},updateId={2}}", session.getRemoteAddress().toString(), payload.getHeapId(), payload.getUpdateId());
LOGGER.warn("Received a connected object update, yet have no record of any subscriptions. {address={},heapId={},updateId={}}", session.getRemoteAddress().toString(), payload.getHeapId(), payload.getUpdateId());
return;
}

HeapState heapState = heaps.getHeapState(payload.getHeapId());
if (heapState == null) {
nioLogger.log(NioLogger.LoggingLevel.TRANSPORT, session, "Can't find this heap for this client, address = %s, heapId = %s", session.getRemoteAddress().toString(), payload.getHeapId());
LOGGER.warn("Received a connected object update, yet have no record of a subscription for this heap. {address={},heapId={},updateId={2}}", session.getRemoteAddress().toString(), payload.getHeapId(), payload.getUpdateId());
LOGGER.warn("Received a connected object update, yet have no record of a subscription for this heap. {address={},heapId={},updateId={}}", session.getRemoteAddress().toString(), payload.getHeapId(), payload.getUpdateId());
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ private void dumpProperties() {
if (me.getKey().toLowerCase().contains("password")) {
value = "*****";
}
LOGGER.info(" {} = {}{2}",
LOGGER.info(" {} = {}{}",
StringUtils.rightPad(value,longest),
me.getKey(),
value,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public String getName() {
public Status checkStatus() {
if (isFailState()) {
if (currentStatus != failState) {
LOGGER.warn("{} {}. Attribute {2} is unavailable or incorrect", beanName, failState, attributeName);
LOGGER.warn("{} {}. Attribute {} is unavailable or incorrect", beanName, failState, attributeName);
}
currentStatus = failState;
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ protected CougarException handleResponseWritingIOException(Exception e, Class re
//Instead a summary debug level log message with some relevant info
incrementIoErrorsEncountered();
LOGGER.debug(
"Failed to marshall object of class {} to the output channel. Exception ({}) message is: {2}",
"Failed to marshall object of class {} to the output channel. Exception ({}) message is: {}",
resultClass.getCanonicalName(),
e.getClass().getCanonicalName(),
e.getMessage()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public Object[] resolveArgs(HttpServletRequest request, InputStream inputStream,
default :
throw new PanicInTheCougar("Unsupported argument annotation "+ descriptor.getSource());
}
//request.trace("Deserialised argument {} from {} to value {2}", i, param.getSource(), args[i]);
//request.trace("Deserialised argument {} from {} to value {}", i, param.getSource(), args[i]);
}
}
catch (EnumDerialisationException ede) {
Expand Down

0 comments on commit 13f0ad4

Please sign in to comment.