Skip to content

Commit

Permalink
typo for AccessLogFilter (#3633)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bricks-Man authored and zonghaishang committed Mar 11, 2019
1 parent c65b589 commit 5f19335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public Result invoke(Invoker<?> invoker, Invocation inv) throws RpcException {
log(accessLogKey, logData);
}
} catch (Throwable t) {
logger.warn("Exception in AcessLogFilter of service(" + invoker + " -> " + inv + ")", t);
logger.warn("Exception in AccessLogFilter of service(" + invoker + " -> " + inv + ")", t);
}
return invoker.invoke(inv);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void testInvokeException() {
Invocation invocation = new MockInvocation();
LogUtil.start();
accessLogFilter.invoke(invoker, invocation);
assertEquals(1, LogUtil.findMessage("Exception in AcessLogFilter of service"));
assertEquals(1, LogUtil.findMessage("Exception in AccessLogFilter of service"));
LogUtil.stop();
}

Expand Down

0 comments on commit 5f19335

Please sign in to comment.