[infinispan-dev] Hot Rod decoding TRACE logging gone?

Radim Vansa rvansa at redhat.com
Mon Aug 20 08:57:49 EDT 2018


(Routing back to -dev list)

Yes. This could be logged in the most readable format in the operation 
itself, rather than just the bytes as this gets parsed. 
CacheRequestProcessor is probably the best place to do so.
Or are you interested in seeing that as it comes from the wire? In that 
case I'd suggest the Intrinsics.

Radim

On 08/20/2018 02:43 PM, Galder Zamarreno wrote:
> Header is just one part of the operation. Individual operation 
> parameters, like version in replaceWithVersion are not logged
>
> On Tue, Aug 14, 2018 at 6:22 PM Radim Vansa <rvansa at redhat.com 
> <mailto:rvansa at redhat.com>> wrote:
>
>     The header is logged [1] once it gets parsed, but you don't get a log
>     for each byte being read. You could add logs into Intrinsics [2]
>     if you
>     find that useful. You can also see the requests themselves in the
>     access
>     log.
>
>     Or do you have any particular points where you'd like to get
>     something
>     logged on the protocol side? We could add log for entering each state
>     (log the current path in the grammar tree), though I'd prefer to
>     activate that just in debug builds since it will increase the code
>     size
>     significantly.
>
>     Radim
>
>     [1]
>     https://github.com/infinispan/infinispan/blob/master/server/hotrod/src/main/resources/hotrod.gr#L67
>     [2]
>     https://github.com/infinispan/infinispan/blob/master/server/hotrod/src/main/java/org/infinispan/server/hotrod/Intrinsics.java
>
>     On 08/14/2018 05:05 PM, Galder Zamarreno wrote:
>     > Seems like we've lost all Hot Rod server decoder logging somehow?
>     >
>     > There's no trace or anything of any requests coming in :( 🤦‍♂️
>     >
>     >
>     > _______________________________________________
>     > infinispan-dev mailing list
>     > infinispan-dev at lists.jboss.org
>     <mailto:infinispan-dev at lists.jboss.org>
>     > https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
>     -- 
>     Radim Vansa <rvansa at redhat.com <mailto:rvansa at redhat.com>>
>     JBoss Performance Team
>

-- 
Radim Vansa <rvansa at redhat.com>
JBoss Performance Team



More information about the infinispan-dev mailing list