Closed GoogleCodeExporter closed 8 years ago
Sorry, I was being imprecise above. The exception isn't getting rethrown in
the server; what I meant was that the client receives the response and throws
the correct exception.
After looking through the code some more, maybe add a property to
AbstractJsonServiceExporter that lets us control the level at which
InvocationTargetExceptions get logged in the server?
Original comment by lafehub...@gmail.com
on 17 Feb 2013 at 8:53
Will address for next release.
Original comment by brian.di...@gmail.com
on 25 Feb 2013 at 7:29
Thank you for including this in the next release because this issue is really
polluting our server logs. Do you already have a approximate date planned for
this next release? Thanks in advance.
Original comment by anael.fi...@gmail.com
on 15 Mar 2013 at 1:43
Changed log level for exceptions to WARNING
Original comment by brian.di...@gmail.com
on 24 Mar 2013 at 8:10
Scratch that, made it configurable.
Original comment by brian.di...@gmail.com
on 24 Mar 2013 at 8:12
Thanks a lot for this patch. Unfortunately I'm using jsonrpc4j in Spring via
AutoJsonRpcServiceExporter and can't have directly access to the JsonRpcServer
object to change this property (or I didn't found how).
I've done a patch so it's possible to use it as a bean property (like
allowExtraParams or rethrowExceptions for instance). This way it is possible to
simply modify the logging level when defining the bean like that :
<bean class="com.googlecode.jsonrpc4j.spring.AutoJsonRpcServiceExporter">
<property name="exceptionLogLevel" value="FINE" />
</bean>
I've attached the patch to this comment, do you think it would be possible to
include this feature in the next release?
Best regards and thank you very much for all the work you do on this library.
Original comment by anael.fi...@gmail.com
on 28 Mar 2013 at 1:48
Attachments:
Original issue reported on code.google.com by
lafehub...@gmail.com
on 17 Feb 2013 at 8:18