Implement the ingestion log endpoints.

This will allow storing/retrieving ingestion logs.
To activate the functionality, a client branch is also
required.
The intention is to make the message a JSON data.