Implement the ingestion log endpoints.

This will allow storing/retrieving ingestion logs.
To activate the functionality, a client branch is also
required.
If the default is 0, why don't we allow users to specify offset=0 ?