Adding endpoint for log retrieval on the minion