Learn R Programming

h2o (version 2.8.4.4)

h2o.downloadAllLogs: Download H2O Log Files to Disk

Description

Download all H2O log files to local disk. Generally used for debugging purposes.

Usage

h2o.downloadAllLogs(client, dirname = ".", filename = NULL)

Arguments

client
An H2OClient object containing the IP address and port of the server running H2O.
dirname
(Optional) A character string indicating the directory that the log file should be saved in.
filename
(Optional) A character string indicating the name that the log file should be saved to.

See Also

H2OClient

Examples

Run this code
library(h2o)
localH2O = h2o.init()
h2o.downloadAllLogs(localH2O, dirname = getwd(), filename = "h2o_logs.log")
file.info(paste(getwd(), "h2o_logs.log", sep = .Platform$file.sep))
file.remove(paste(getwd(), "h2o_logs.log", sep = .Platform$file.sep))

Run the code above in your browser using DataLab