diff --git a/run_pacta_data_preparation.R b/run_pacta_data_preparation.R index cf28970..6db4a37 100644 --- a/run_pacta_data_preparation.R +++ b/run_pacta_data_preparation.R @@ -1,4 +1,4 @@ -logger::log_threshold(Sys.getenv("LOG_LEVEL", "INFO")) +logger::log_threshold(Sys.getenv("LOG_LEVEL", ifelse(interactive(), "FATAL", "INFO"))) logger::log_formatter(logger::formatter_glue) # necessary packages -----------------------------------------------------------