Deserialize in a different language

前端 未结 6 1766
無奈伤痛
無奈伤痛 2021-01-02 21:46

The log4j network adapter sends events as a serialised java object. I would like to be able to capture this object and deserialise it in a different language (python). Is th

6条回答
  •  太阳男子
    2021-01-02 22:04

    Well I am not Python expert so I can't comment on how to solve your problem but if you have program in .NET you may use IKVM.NET to deserialize Java objects easily. I have experimented this by creating .NET Client for Log4J log messages written to Socket appender and it worked really well.

    I am sorry, if this answer does not make sense here.

提交回复
热议问题