Comments (3)
added log4j debug level logging in 1.3.0, released.
from jsonrpc4j.
Great, could you add some notes somewhere saying what classes/packages need to be log4j'ed.
from jsonrpc4j.
classes in this package, here's a sample
2016-03-15 09:55:34,238 DEBUG c.g.j.JsonRpcBasicServer:116 [main] created server for interface interface com.googlecode.jsonrpc4j.integration.ServerClientTest$Service with handler class com.sun.proxy.$Proxy11
2016-03-15 09:55:34,239 DEBUG c.g.j.u.LocalThreadServer:49 [Thread-1] started local thread server for interface interface com.googlecode.jsonrpc4j.integration.ServerClientTest$Service and handler EasyMock for interface com.googlecode.jsonrpc4j.integration.ServerClientTest$Service
2016-03-15 09:55:34,245 DEBUG c.g.j.JsonRpcClient:281 [main] Request {"id":"1774378601","jsonrpc":"2.0","method":"noOp"}
2016-03-15 09:55:34,273 DEBUG c.g.j.JsonRpcBasicServer:269 [Thread-1] Request: {"id":"1774378601","jsonrpc":"2.0","method":"noOp"}
2016-03-15 09:55:34,275 DEBUG c.g.j.JsonRpcBasicServer:395 [Thread-1] Invoking method: noOp with args []
2016-03-15 09:55:34,277 DEBUG c.g.j.JsonRpcBasicServer:401 [Thread-1] Invoked method: noOp, result null
2016-03-15 09:55:34,278 DEBUG c.g.j.JsonRpcBasicServer:679 [Thread-1] Response: {"jsonrpc":"2.0","id":"1774378601","result":null}
2016-03-15 09:55:35,261 DEBUG c.g.j.JsonRpcClient:288 [main] JSON-PRC Response: {"jsonrpc":"2.0","id":"1774378601","result":null}
2016-03-15 09:55:35,265 DEBUG c.g.j.JsonRpcClient:281 [main] Request {"id":"1436832334","jsonrpc":"2.0","method":"noOp"}
2016-03-15 09:55:35,265 DEBUG c.g.j.JsonRpcBasicServer:269 [Thread-1] Request: {"id":"1436832334","jsonrpc":"2.0","method":"noOp"}
2016-03-15 09:55:35,266 DEBUG c.g.j.JsonRpcBasicServer:395 [Thread-1] Invoking method: noOp with args []
2016-03-15 09:55:35,266 DEBUG c.g.j.JsonRpcBasicServer:401 [Thread-1] Invoked method: noOp, result null
2016-03-15 09:55:35,266 DEBUG c.g.j.JsonRpcBasicServer:679 [Thread-1] Response: {"jsonrpc":"2.0","id":"1436832334","result":null}
2016-03-15 09:55:36,265 DEBUG c.g.j.JsonRpcClient:288 [main] JSON-PRC Response: {"jsonrpc":"2.0","id":"1436832334","result":null}
2016-03-15 09:55:36,266 DEBUG c.g.j.JsonRpcClient:281 [main] Request {"id":"1291578492","jsonrpc":"2.0","method":"hello"}
2016-03-15 09:55:36,266 DEBUG c.g.j.JsonRpcBasicServer:269 [Thread-1] Request: {"id":"1291578492","jsonrpc":"2.0","method":"hello"}
2016-03-15 09:55:36,266 DEBUG c.g.j.JsonRpcBasicServer:395 [Thread-1] Invoking method: hello with args []
2016-03-15 09:55:36,266 DEBUG c.g.j.JsonRpcBasicServer:401 [Thread-1] Invoked method: hello, result param1
2016-03-15 09:55:36,268 DEBUG c.g.j.JsonRpcBasicServer:679 [Thread-1] Response: {"jsonrpc":"2.0","id":"1291578492","result":"param1"}
2016-03-15 09:55:37,266 DEBUG c.g.j.JsonRpcClient:288 [main] JSON-PRC Response: {"jsonrpc":"2.0","id":"1291578492","result":"param1"}
2016-03-15 09:55:37,269 DEBUG c.g.j.JsonRpcClient:281 [main] Request {"id":"1840105919","jsonrpc":"2.0","method":"hello","params":["PñA&s<>k ;"]}
2016-03-15 09:55:37,269 DEBUG c.g.j.JsonRpcBasicServer:269 [Thread-1] Request: {"id":"1840105919","jsonrpc":"2.0","method":"hello","params":["PñA&s<>k ;"]}
2016-03-15 09:55:37,272 DEBUG c.g.j.JsonRpcBasicServer:395 [Thread-1] Invoking method: hello with args ["PñA&s<>k ;"]
2016-03-15 09:55:37,273 DEBUG c.g.j.JsonRpcBasicServer:401 [Thread-1] Invoked method: hello, result PñA&s<>k ;
2016-03-15 09:55:37,273 DEBUG c.g.j.JsonRpcBasicServer:679 [Thread-1] Response: {"jsonrpc":"2.0","id":"1840105919","result":"PñA&s<>k ;"}
2016-03-15 09:55:38,269 DEBUG c.g.j.JsonRpcClient:288 [main] JSON-PRC Response: {"jsonrpc":"2.0","id":"1840105919","result":"PñA&s<>k ;"}
from jsonrpc4j.
Related Issues (20)
- Method parameter conversion error handling logic should preserve JSON-RPC id from the request HOT 2
- Cross language conversion of JsonRpcService
- 方法重载不支持
- 对于数值相关类型有bug,基于1.6版本
- Basic HTTP Client
- ResponseBodyAdvice not triggered
- Remove net.iharder:base64
- RemoteExporter in SpringBoot 3.0.0 HOT 4
- is jsonrpc4j dead or still supported / maintained ? HOT 2
- Deprecate `javax.portlet:portlet-api` and portlet support
- Add support for newer `jakarta.servlet.http` API into `JsonRpcServer`
- CALL FOR HELP
- Looking for someone to handle maintenance and releases of this library HOT 2
- And new annotation supports creating specially JsonRpcClient.
- AutoJsonRpcServiceImplExporter not set parallelBatchProcessingTimeout to JsonServiceExporter HOT 1
- Have any plans to release the latest version? HOT 3
- per request headers
- BaseUrl truncated when create JsonRpc bean
- ObjectMapper passed into JsonRpcMultiServer is ignored
- How to add swagger or open api to the project? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonrpc4j.