Skip to content

How to audit all OCPP-J messages? #227

@cykl

Description

@cykl

I would like to audit all messages received and sent by a JSONServer (i.e. write all messages into logs or a message queue). It is unclear to me what is the best way to achieve that.

I have read https://github.com/ChargeTimeEU/Java-OCA-OCPP/wiki, https://github.com/ChargeTimeEU/Java-OCA-OCPP/wiki andJsonServer, Server, WebSocketListener & friends source code, but still struggle to find the right architectural place to do so and how to configure OCCP-J to do it. My understanding is that even if JsonCommunicator is the right abstraction, it is not configurable and I would have to fork most of OCCP-J code.

Any advice would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions