Implement the ingestion log endpoints.

This will allow storing/retrieving ingestion logs.
To activate the functionality, a client branch is also
required.
I am not sure about that. Usually a log is sent asap as a single entity.