Retrofit changes to master regarding IPS retrieving from cache

Retrofit: fix to 1869: IPS not retrieving seq node from cache
/log endpoint with r parameter for rotating file index.