Skip to content

Commit

Permalink
Remove h2o.logIt
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfryda committed Nov 8, 2023
1 parent 5fbc420 commit 61bd02a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions h2o-r/h2o-package/R/logging.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ NULL
write(x = message, file = .h2o.getLogFileName(), append = TRUE)
}

h2o.logIt <- function(m, tmp, commandOrErr, isPost = TRUE) {
# Legacy. Do nothing.
}

#' Start Writing H2O R Logs
#'
#' Begin logging H2o R POST commands and error responses to local disk. Used
Expand Down
4 changes: 2 additions & 2 deletions h2o-r/scripts/h2o-r-test-setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function() {
devtools::load_all(paste(h2oRDir,"h2o-package",sep=.Platform$file.sep), export_all=FALSE)

additional_imports <- c(
"h2o.logIt", ".h2o.__remoteSend", ".as.survival.coxph.model", ".as.survival.coxph.summary",
".h2o.__remoteSend", ".as.survival.coxph.model", ".as.survival.coxph.summary",
".getExpanded", ".str.list", "is.H2OFrame", ".get.session.property", ".set.session.property",
".h2o.maximizing_metrics", ".h2o.doSafeGET", ".parse.h2oconfig", ".h2o.check_java_version",
"cut.H2OFrame", "as.data.frame.H2OFrame", ".h2o.perfect_auc", ".newExpr", ".h2o.doSafeREST",
Expand All @@ -221,7 +221,7 @@ function() {
masterSeedFile <- paste(getwd(), "/master_seed", sep = "")
if (file.exists(masterSeedFile)) seed <- read.table(masterSeedFile)[[1]]
setupSeed(seed)
h2o.logIt("[SEED] :", SEED)
cat("[SEED] :", SEED, "\n")

if (!is.na(USERNAME)) {
Log.info(paste0("Authenticating with http-basic, username: ", USERNAME, "."))
Expand Down

0 comments on commit 61bd02a

Please sign in to comment.