download_session_logs()
Download logs for a session to a local file.
download_session_logs(session_id=nothing, cluster_name=nothing, filename=nothing, ...)
Description
This function downloads the logs for a given session to a specified location, if logs for the session were saved to S3.
Required Parameters
session_id
(String
)
ID of the session for which to retrieve logs.
cluster_name
(String
)
Name of cluster the session was started in.
filename
(String
)
Path of file to download session logs to. If a filename is not specified, the log
file will get saved to $HOME/.banyan/logs/
.