Fixed the retrieval of ingester logs. Clean up dead code.