Commit 2cfe2ff6 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

rpc: do not use string concatenation in logging

parent b0751208
......@@ -71,10 +71,10 @@ public class RpcProtocolFilter implements ProtocolFilter {
} catch (OncRpcException ex) {
Logger.getLogger(RpcProtocolFilter.class.getName()).log(Level.SEVERE, null, ex);
_log.log(Level.INFO, "RPC request rejected: " + e.getMessage());
_log.log(Level.INFO, "RPC request rejected: {1}", e.getMessage());
return false;
}catch (OncRpcException e) {
_log.log(Level.INFO, "failed to process RPC request: " + e.getMessage());
_log.log(Level.INFO, "failed to process RPC request: {1}", e.getMessage());
return false;
} else {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment