From fc219ace11ae950a215d4103dbeade8a491df357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vinicius=20Melqu=C3=ADades=20de=20Sousa?= Date: Tue, 28 Apr 2020 19:07:55 -0300 Subject: [PATCH] Intuitive name for mongo collection logs Changes the name of the collection where the logs will be inserted to a more intuitive name. --- R/set_logging.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/set_logging.R b/R/set_logging.R index 6dc89c6..29a4b1c 100644 --- a/R/set_logging.R +++ b/R/set_logging.R @@ -189,7 +189,7 @@ set_logging <- function(r_console = TRUE, } else { assign("log_db", - mongolite::mongo("demo", url = readLines(db_url_file)[1]), + mongolite::mongo("shiny_logs", url = readLines(db_url_file)[1]), envir = parent.frame() )