Giter VIP home page Giter VIP logo

Comments (3)

gaborbernat avatar gaborbernat commented on September 7, 2024

added log4j debug level logging in 1.3.0, released.

from jsonrpc4j.

davidnewcomb avatar davidnewcomb commented on September 7, 2024

Great, could you add some notes somewhere saying what classes/packages need to be log4j'ed.

from jsonrpc4j.

gaborbernat avatar gaborbernat commented on September 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.