added cap command to tail logs