Added option for logs retrieval.