Deserialize in a different language

前端 未结 6 1725
無奈伤痛
無奈伤痛 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:11

    I would recommend moving to a third-party format (by creating your own log4j adapters etc) that both languages understand and can easily marshal / unmarshal, e.g. XML.

提交回复
热议问题