Implement the ingestion log endpoints.

This will allow storing/retrieving ingestion logs.
To activate the functionality, a client branch is also
required.
This function is no longer used.